Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
When SparkContext.addJar/addFile is used to add a directory (which is not supported), the runtime exception is
java.io.FileNotFoundException: [file] (No such file or directory)
This exception is extremely confusing because the directory does exist. We should throw a more meaningful exception when a directory is passed to addJar/addFile.