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