Repository: spark
Updated Branches:
  refs/heads/master 259936be7 -> 2fd7f72b6


[SPARK-5235] Make SQLConf Serializable

Declare SQLConf to be serializable to fix "Task not serializable" exceptions in 
SparkSQL

Author: Alex Baretta <[email protected]>

Closes #4031 from alexbaretta/SPARK-5235-SQLConf and squashes the following 
commits:

c2103f5 [Alex Baretta] [SPARK-5235] Make SQLConf Serializable


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/2fd7f72b
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/2fd7f72b
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/2fd7f72b

Branch: refs/heads/master
Commit: 2fd7f72b6b0b24bec12331c7bbbcf6bfc265d2ec
Parents: 259936b
Author: Alex Baretta <[email protected]>
Authored: Wed Jan 14 11:51:55 2015 -0800
Committer: Reynold Xin <[email protected]>
Committed: Wed Jan 14 11:51:55 2015 -0800

----------------------------------------------------------------------
 sql/core/src/main/scala/org/apache/spark/sql/SQLConf.scala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/2fd7f72b/sql/core/src/main/scala/org/apache/spark/sql/SQLConf.scala
----------------------------------------------------------------------
diff --git a/sql/core/src/main/scala/org/apache/spark/sql/SQLConf.scala 
b/sql/core/src/main/scala/org/apache/spark/sql/SQLConf.scala
index 206d16f..3bc201a 100644
--- a/sql/core/src/main/scala/org/apache/spark/sql/SQLConf.scala
+++ b/sql/core/src/main/scala/org/apache/spark/sql/SQLConf.scala
@@ -61,7 +61,7 @@ private[spark] object SQLConf {
  *
  * SQLConf is thread-safe (internally synchronized, so safe to be used in 
multiple threads).
  */
-private[sql] class SQLConf {
+private[sql] class SQLConf extends Serializable {
   import SQLConf._
 
   /** Only low degree of contention is expected for conf, thus NOT using 
ConcurrentHashMap. */


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to