hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom White <...@cloudera.com>
Subject Re: Configuration clone constructor not cloning classloader
Date Fri, 19 Apr 2013 12:51:28 GMT
Hi Amit,

It is a bug, fixed by
https://issues.apache.org/jira/browse/HADOOP-6103, although the fix
never made it into branch-1. Can you create a branch-1 patch for this


On Thu, Apr 18, 2013 at 4:09 AM, Amit Sela <amits@infolinks.com> wrote:
> Hi all,
> I was wondering if there is a good reason why public
> Configuration(Configuration other) constructor in Hadoop 1.0.4 doesn't clone
> the classloader in "other" to the new Configration ?
> Is this a bug ?
> I'm asking because I'm trying to run a Hadoop client in OSGI environment and
> I need to pass the bundle's ClassLoader to Configuration but it get's along
> the way when Hadoop code instantiates new JobContext(Configuration).
> Thanks,
> Amit.

View raw message