spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kousuke Saruta (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SPARK-12517) No default RDD name for ones created by sc.textFile
Date Mon, 28 Dec 2015 20:28:49 GMT

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

Kousuke Saruta updated SPARK-12517:
-----------------------------------
    Assignee: yaron weinsberg

> No default RDD name for ones created by sc.textFile 
> ----------------------------------------------------
>
>                 Key: SPARK-12517
>                 URL: https://issues.apache.org/jira/browse/SPARK-12517
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 1.4.0, 1.4.1, 1.5.0, 1.5.2
>            Reporter: yaron weinsberg
>            Assignee: yaron weinsberg
>            Priority: Minor
>              Labels: easyfix
>             Fix For: 1.6.1, 2.0.0
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> Having a default name for an RDD created from a file is very handy. 
> The feature was first added at commit: 7b877b2 but was later removed (probably by mistake)
at commit: fc8b581. 
> This change sets the default path of RDDs created via sc.textFile(...) to the path argument.
> Here is the symptom:
> Using spark-1.5.2-bin-hadoop2.6:
> scala> sc.textFile("/home/root/.bashrc").name
> res5: String = null
> scala> sc.binaryFiles("/home/root/.bashrc").name
> res6: String = /home/root/.bashrc
> while using Spark 1.3.1:
> scala> sc.textFile("/home/root/.bashrc").name
> res0: String = /home/root/.bashrc
> scala> sc.binaryFiles("/home/root/.bashrc").name
> res1: String = /home/root/.bashrc



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