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

    https://github.com/apache/spark/pull/16827#discussion_r99776850
  
    --- Diff: 
streaming/src/main/scala/org/apache/spark/streaming/Checkpoint.scala ---
    @@ -63,6 +63,8 @@ class Checkpoint(ssc: StreamingContext, val 
checkpointTime: Time)
         val newReloadConf = new SparkConf(loadDefaults = true)
         propertiesToReload.foreach { prop =>
           newReloadConf.getOption(prop).foreach { value =>
    +        // (trick) avoid SPARK-19482.
    +        newSparkConf.remove(prop)
             newSparkConf.set(prop, value)
    --- End diff --
    
    here, we should remove properties which will be reloaded, otherwise will 
fail for some special properties, like 'spark.master'


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