Bing Jiang created MAPREDUCE-6015:
-------------------------------------

             Summary: Make MR ApplicationMaster disable loading user's jars 
firstly 
                 Key: MAPREDUCE-6015
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6015
             Project: Hadoop Map/Reduce
          Issue Type: Improvement
            Reporter: Bing Jiang


In most cases, we want to use -Dmapreduce.user.classpath.first=true to pick 
user's jars ahead of hadoop system's jars, which can make tasks run based upon 
the customized environment under the circumstance that hadoop system default 
library contains the different version of dependent jars.

However, using -Dmapreduce.user.classpath.first=true will cause 
ApplicationMaster failure to launch due to conflicting classes.

In most cases, if users do not customize the ApplicationMaster for MapReduce 
framework, I believe we can treat MRAppMaster different with MapTask/ReduceTask 
at the point of loading user's jar in classloader. 

I believe it can provide  a property of  
'-Dmapreduce.am.user.classpath.first=false'  to disable the feature of loading 
user's jars firstly. 

 



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

Reply via email to