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

    https://github.com/apache/spark/pull/3518#discussion_r23050901
  
    --- Diff: core/src/main/scala/org/apache/spark/scheduler/DAGScheduler.scala 
---
    @@ -827,9 +868,21 @@ class DAGScheduler(
         // might modify state of objects referenced in their closures. This is 
necessary in Hadoop
         // where the JobConf/Configuration object is not thread-safe.
         var taskBinary: Broadcast[Array[Byte]] = null
    +
    +    // Check if RDD serialization debugging is enabled
    +    val debugSerialization: Boolean = 
sc.getConf.getBoolean("spark.serializer.debug", false)
    --- End diff --
    
    Ah I see - this does that already. Yeah so I'd just remove the config 
option and just always print debugging output if there is a failure. We usually 
try not to add config options unless there is a really compelling reason to not 
have the feature enabled.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to