You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Xuefu Zhang (JIRA)" <ji...@apache.org> on 2014/12/02 03:41:12 UTC

[jira] [Commented] (SPARK-4687) SparkContext#addFile doesn't keep file folder information

    [ https://issues.apache.org/jira/browse/SPARK-4687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14230873#comment-14230873 ] 

Xuefu Zhang commented on SPARK-4687:
------------------------------------

[~jxiang], alternatively, would a new method, SparkContext.addFolder(), better fit to this use case?

CC [~sandyr], [~rxin].

> SparkContext#addFile doesn't keep file folder information
> ---------------------------------------------------------
>
>                 Key: SPARK-4687
>                 URL: https://issues.apache.org/jira/browse/SPARK-4687
>             Project: Spark
>          Issue Type: Bug
>            Reporter: Jimmy Xiang
>
> Files added with SparkContext#addFile are loaded with Utils#fetchFile before a task starts. However, Utils#fetchFile puts all files under the Spart root on the worker node. We should have an option to keep the folder information. 



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