07ARB commented on a change in pull request #26773: 
[SPARK-30126][SPARK-30145][CORE]sparkContext.addFile and sparkContext.addJar 
fails when file path contains spaces
URL: https://github.com/apache/spark/pull/26773#discussion_r355430398
 
 

 ##########
 File path: core/src/test/scala/org/apache/spark/SparkContextSuite.scala
 ##########
 @@ -303,7 +345,6 @@ class SparkContextSuite extends SparkFunSuite with 
LocalSparkContext with Eventu
 
       // Invalid jar path will only print the error log, will not add to file 
server.
       sc.addJar("dummy.jar")
-      sc.addJar("")
 
 Review comment:
   now i kept same behaviour just added one more condition (`if (path == null 
|| path.isEmpty)`).
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to