You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Reynold Xin (JIRA)" <ji...@apache.org> on 2014/06/18 09:41:03 UTC
[jira] [Resolved] (SPARK-1933) FileNotFoundException when a
directory is passed to SparkContext.addJar/addFile
[ 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)