[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
This commit is contained in:
parent
259936be71
commit
2fd7f72b6b
|
@ -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. */
|
||||
|
|
Loading…
Reference in a new issue