You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2015/12/20 09:42:46 UTC

[jira] [Resolved] (SPARK-10596) SparkContext.textFile() cannot handle escape character for spaces

     [ https://issues.apache.org/jira/browse/SPARK-10596?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sean Owen resolved SPARK-10596.
-------------------------------
    Resolution: Not A Problem

You're saying that a path that includes a space must be written as a space in the argument, and it works when you do so. There doesn't seem to be a problem then, and no I would not see a reason to expect that the caller can _optionally_ URI-encode its argument. This becomes ambiguous in cases where, say, the path contains +.

> SparkContext.textFile() cannot handle escape character for spaces
> -----------------------------------------------------------------
>
>                 Key: SPARK-10596
>                 URL: https://issues.apache.org/jira/browse/SPARK-10596
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>            Reporter: Jason Pohl
>
> Trying to use SparkContext.textFile() with an S3 URI, but there does not seem to be an accepted way to escape spaces in the path (which is a valid S3 naming convention for folders)
> get an exception: "org.apache.hadoop.mapred.InvalidInputException: Input path does not exist:"
> Tried:
> +
> %20
> \%20
> \%20\
> None of these work



--
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