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

    https://github.com/apache/spark/pull/11150#discussion_r52503092
  
    --- 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 --
    
    alternatively we could make this a field in `SparkEnv` instead of a 
constructor argument, so much of the existing code doesn't need to change.


---
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