You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sam Steingold (JIRA)" <ji...@apache.org> on 2015/04/24 19:36:38 UTC
[jira] [Updated] (SPARK-7125) textFile().first() on empty files
raises ENOENT
[ https://issues.apache.org/jira/browse/SPARK-7125?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sam Steingold updated SPARK-7125:
---------------------------------
Description:
The two calls:
# {{sc.textFile("existing-empty-file").first()}} and
# {{sc.textFile("non-existent-file").first()}}
raise the same exception:
{{"org.apache.hadoop.mapred.InvalidInputException: Input path does not exist"}}
The former should raise a different exception or return {{null}}.
was:
{{sc.textFile("existing-empty-file").first()}} and {{sc.textFile("non-existent-file").first()}} raise the same exception:
{{"org.apache.hadoop.mapred.InvalidInputException: Input path does not exist"}}
the former should raise a different exception or return {{null}}.
> textFile().first() on empty files raises ENOENT
> -----------------------------------------------
>
> Key: SPARK-7125
> URL: https://issues.apache.org/jira/browse/SPARK-7125
> Project: Spark
> Issue Type: Bug
> Reporter: Sam Steingold
>
> The two calls:
> # {{sc.textFile("existing-empty-file").first()}} and
> # {{sc.textFile("non-existent-file").first()}}
> raise the same exception:
> {{"org.apache.hadoop.mapred.InvalidInputException: Input path does not exist"}}
> The former should raise a different exception or return {{null}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org