[
https://issues.apache.org/jira/browse/OOZIE-2547?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16161339#comment-16161339
]
Sergey Zhemzhitsky edited comment on OOZIE-2547 at 9/11/17 2:23 PM:
--------------------------------------------------------------------
[~rkanter], [~gezapeti] I've created another issue (OOZIE-3053) with simple
steps to reproduce in spark 1.6 as well as in spark 2.2.
it seems that empty spark.hadoop.mapreduce.application.classpath,
spark.hadoop.yarn.application.classpath which are by default in
/etc/spark2/conf/spark-defaults.properties for spark 2.2 are causing it.
was (Author: szhemzhitsky):
[~rkanter], [~gezapeti] I've created another issue with simple steps to
reproduce in spark 1.6 as well as in spark 2.2.
it seems that empty spark.hadoop.mapreduce.application.classpath,
spark.hadoop.yarn.application.classpath which are by default in
/etc/spark2/conf/spark-defaults.properties for spark 2.2 are causing it.
> Add mapreduce.job.cache.files to spark action
> ---------------------------------------------
>
> Key: OOZIE-2547
> URL: https://issues.apache.org/jira/browse/OOZIE-2547
> Project: Oozie
> Issue Type: Bug
> Reporter: Satish Subhashrao Saley
> Assignee: Satish Subhashrao Saley
> Priority: Minor
> Fix For: 4.3.0
>
> Attachments: OOZIE-2547-1.patch, OOZIE-2547-4.patch,
> OOZIE-2547-5.patch, yarn-cluster_launcher.txt
>
>
> Currently, we pass jars using --jars option while submitting spark job. Also,
> we add spark.yarn.dist.files option in case of yarn-client mode.
> Instead of that, we can have only --files option and pass on the files which
> are present in mapreduce.job.cache.files. While doing so, we make sure that
> spark won't make another copy of the files if files exist on the hdfs. We saw
> the issues when files are getting copied multiple times and causing
> exceptions such as :
> {code}
> Diagnostics: Resource
> hdfs://localhost/user/saley/.sparkStaging/application_1234_123/oozie-examples.jar
> changed on src filesystem
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)