[
https://issues.apache.org/jira/browse/SPARK-4687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14241974#comment-14241974
]
Patrick Wendell commented on SPARK-4687:
----------------------------------------
I commented a bit on the JIRA after seeing this. Instead of having this can
Hive just add individual files with a prefix denoting what the folder is?
Maintaining addFile has been nontrivial (we found a lot of corner cases over
time) so it would be good to understand what the alternative is for Hive.
> 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
> Affects Versions: 1.2.0
> 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: [email protected]
For additional commands, e-mail: [email protected]