Sam Steingold created SPARK-7125: ------------------------------------ Summary: 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
{{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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org