-Re: how to rebuild hadoop-core-0.20.2-cdh3u4.jar
Harsh J 2012-12-01, 10:34
Since this is a CDH build specific question, I am moving the post to
To answer your question, you can simply do this:
[Assuming $HADOOP_HOME points to your CDH3u4 tarball location, which
you can download from
$ cd $HADOOP_HOME/src
# Do your JobClient modifications under the sources here.
# Good idea to git init and commit the whole directory the first time,
to track your changes.
# After changes, build them into a jar
$ ant jar
# Copy over and overwrite original jar (good idea to keep a backup.
$ cp build/hadoop-core-0.20.2-cdh3u4.jar ../
That should be all!
On Sat, Dec 1, 2012 at 6:46 AM, Nhung Nguyen <[EMAIL PROTECTED]> wrote:
> Hi ,
> I am trying to modify JobClient.class inside hadoop-core-0.20.2-cdh3u4.jar.
> But I can't find a good way to compile the source-codes to get a new a jar (
> with my modified JobClient.class) without changing too much. Any help would
> be appreciated. Thanks
> Nhung Nguyen