hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gera Shegalov (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MAPREDUCE-5814) fat jar with *-default.xml may fail when mapreduce.job.classloader=true.
Date Sun, 11 May 2014 00:01:18 GMT

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

Gera Shegalov updated MAPREDUCE-5814:

    Attachment: MAPREDUCE-5814.v03.patch

v03 to address Jason's review. Thanks!

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

This message was sent by Atlassian JIRA

View raw message