aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorAlex Baretta <alexbaretta@gmail.com>2015-01-14 11:51:55 -0800
committerReynold Xin <rxin@databricks.com>2015-01-14 11:51:55 -0800
commit2fd7f72b6b0b24bec12331c7bbbcf6bfc265d2ec (patch)
treec3c79cb15ff4cff7c4f7e90ed5c6e278a6f15abf /sql
parent259936be710f367e1d1e019ee7b93fb68dfc33d0 (diff)
downloadspark-2fd7f72b6b0b24bec12331c7bbbcf6bfc265d2ec.tar.gz
spark-2fd7f72b6b0b24bec12331c7bbbcf6bfc265d2ec.tar.bz2
spark-2fd7f72b6b0b24bec12331c7bbbcf6bfc265d2ec.zip
[SPARK-5235] Make SQLConf Serializable
Declare SQLConf to be serializable to fix "Task not serializable" exceptions in SparkSQL Author: Alex Baretta <alexbaretta@gmail.com> Closes #4031 from alexbaretta/SPARK-5235-SQLConf and squashes the following commits: c2103f5 [Alex Baretta] [SPARK-5235] Make SQLConf Serializable
Diffstat (limited to 'sql')
-rw-r--r--sql/core/src/main/scala/org/apache/spark/sql/SQLConf.scala2
1 files changed, 1 insertions, 1 deletions
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 206d16f5b3..3bc201a242 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. */