[ https://issues.apache.org/jira/browse/HADOOP-6602?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12839991#action_12839991 ]
Amareshwari Sriramadasu commented on HADOOP-6602: ------------------------------------------------- This is bug in Configuration and is fixed by HADOOP-6103. > ClassLoader (Configuration#setClassLoader) in new Job API (0.20) does not work > ------------------------------------------------------------------------------ > > Key: HADOOP-6602 > URL: https://issues.apache.org/jira/browse/HADOOP-6602 > Project: Hadoop Common > Issue Type: Bug > Components: conf > Affects Versions: 0.20.1 > Environment: Cloudera Hadoop 0.20.1+152 > Reporter: William Kinney > Fix For: 0.20.1 > > > new Job/Configuration API's setClassLoader (Configuration#setClassLoader) > gets overwritten w/ {{Thread.currentThread().getContextClassLoader()}} when > invoking Job#submit. > Upon class to Job#submit, JobClient#submitJobInternal invokes {{JobContext > context = new JobContext(job, jobId);}}, which in the constructor for > org.apache.hadoop.mapreduce.JobContext, wraps Job w/ new JobConf and > therefore overwrites set classLoader member @ Configuration via a init block > w/ {{classLoader = Thread.currentThread().getContextClassLoader();}} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.