spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric O. LEBIGOT (EOL) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SPARK-7141) saveAsTextFile() on S3 first creates empty prefix
Date Sat, 25 Apr 2015 06:07:38 GMT
Eric O. LEBIGOT (EOL) created SPARK-7141:
--------------------------------------------

             Summary: saveAsTextFile() on S3 first creates empty prefix
                 Key: SPARK-7141
                 URL: https://issues.apache.org/jira/browse/SPARK-7141
             Project: Spark
          Issue Type: Bug
          Components: PySpark
    Affects Versions: 1.3.1
         Environment: OS X 10.10
            Reporter: Eric O. LEBIGOT (EOL)


Using {{saveAsTextFile("s3://bucket/prefix"}} actually adds an empty prefix, i.e. it writes
to {{s3://bucket//prefix}} (note the double slash).

Example code (in a {{pyspark}} shell):

{{rdd = sc.parallelize("abcd")}}
{{rdd.saveAsTextFile("s3://bucket/prefix")})

This is quite annoying, as the files cannot be saved (and read from, maybe) in the intended
location.



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


Mime
View raw message