Github user srowen commented on a diff in the pull request:

    https://github.com/apache/spark/pull/11150#discussion_r52505440
  
    --- Diff: core/src/main/scala/org/apache/spark/SparkEnv.scala ---
    @@ -277,8 +277,7 @@ object SparkEnv extends Logging {
           "spark.serializer", "org.apache.spark.serializer.JavaSerializer")
         logDebug(s"Using serializer: ${serializer.getClass}")
     
    -    val closureSerializer = instantiateClassFromConf[Serializer](
    -      "spark.closure.serializer", 
"org.apache.spark.serializer.JavaSerializer")
    +    val closureSerializer = new JavaSerializer(conf)
    --- End diff --
    
    I kept it just because I assume the usages of the closure serializer must 
use the Java serializer, and can't use the generic `spark.serializer` since 
that may be set to Kryo. Sure, there's probably not much point in passing it in 
as an arg, I can change that.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

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

Reply via email to