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

Hudson commented on MAPREDUCE-5814:
-----------------------------------

SUCCESS: Integrated in Hadoop-trunk-Commit #5605 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/5605/])
MAPREDUCE-5814. fat jar with *-default.xml may fail when 
mapreduce.job.classloader=true. Contributed by Gera Shegalov (jlowe: 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1594326)
* /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
* 
/hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-common/src/main/java/org/apache/hadoop/mapreduce/v2/util/MRApps.java
* 
/hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-common/src/test/java/org/apache/hadoop/mapreduce/v2/util/TestMRApps.java
* 
/hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/resources/mapred-default.xml
* 
/hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/util/ApplicationClassLoader.java


> fat jar with *-default.xml may fail when mapreduce.job.classloader=true.
> ------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-5814
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5814
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>    Affects Versions: 2.3.0
>            Reporter: Gera Shegalov
>            Assignee: Gera Shegalov
>             Fix For: 3.0.0, 2.5.0
>
>         Attachments: MAPREDUCE-5814.v01.patch, MAPREDUCE-5814.v02.patch, 
> MAPREDUCE-5814.v03.patch
>
>
> We faced a failure when a job.jar compiled against 0.20+ hadoop artifacts had 
> to run with {{mapreduce.job.classloader=true}} because it needed a more 
> recent guava as a dependency. The job failed because the cluster's 
> {{*-default.xml}} files were overshadowed by the ones in the fat jar. We 
> propose to treat these default config files like the system packages 
> {{org.apache.hadoop.}} to avoid a counterintuitivie behavior as if we had 
> {{mapreduce.job.user.classpath.first}} set.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to