[ https://issues.apache.org/jira/browse/SPARK-1933?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Reynold Xin resolved SPARK-1933. -------------------------------- Resolution: Fixed Fix Version/s: 1.1.0 > FileNotFoundException when a directory is passed to > SparkContext.addJar/addFile > ------------------------------------------------------------------------------- > > Key: SPARK-1933 > URL: https://issues.apache.org/jira/browse/SPARK-1933 > Project: Spark > Issue Type: Bug > Components: Spark Core > Reporter: Reynold Xin > Assignee: Reynold Xin > Fix For: 1.0.1, 1.1.0 > > > When SparkContext.addJar/addFile is used to add a directory (which is not > supported), the runtime exception is > {code} > java.io.FileNotFoundException: [file] (No such file or directory) > {code} > 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. -- This message was sent by Atlassian JIRA (v6.2#6252)