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

    https://github.com/apache/spark/pull/21771#discussion_r202531555
  
    --- Diff: core/src/main/scala/org/apache/spark/SparkContext.scala ---
    @@ -1555,6 +1559,9 @@ class SparkContext(config: SparkConf) extends Logging 
{
           Utils.fetchFile(uri.toString, new 
File(SparkFiles.getRootDirectory()), conf,
             env.securityManager, hadoopConfiguration, timestamp, useCache = 
false)
           postEnvironmentUpdate()
    +    } else {
    +      logWarning(s"The path $path has been added already. Overwriting of 
added paths " +
    --- End diff --
    
    The notes are also reasonable to me. This is a common user error. 


---

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

Reply via email to