hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William Kinney (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-6602) ClassLoader (Configuration#setClassLoader) in new Job API (0.20) does not work
Date Mon, 01 Mar 2010 17:23:10 GMT

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

William Kinney updated HADOOP-6602:
-----------------------------------

    Fix Version/s: 0.20.1

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


Mime
View raw message