How to include my own jar when building Hadoop?

2011-01-24 Thread Zhenhua Guo
I modified Hadoop source code. I need to include my own jar. Where should I put the jar? Do I need to change Hadoop config file? Gerald

Re: How to include my own jar when building Hadoop?

2011-01-24 Thread xiufeng liu
Hi, I think you can put it into $HADOO_HOME/lib On Mon, Jan 24, 2011 at 1:34 PM, Zhenhua Guo jen...@gmail.com wrote: I modified Hadoop source code. I need to include my own jar. Where should I put the jar? Do I need to change Hadoop config file? Gerald --

Re: How to include my own jar when building Hadoop?

2011-01-24 Thread Saurabh Dutta
Did you try putting it to hadoop/lib directory. By default hadoop loads all its jars from this directory. Thanks, Saurabh Dutta On Mon, Jan 24, 2011 at 6:04 PM, Zhenhua Guo jen...@gmail.com wrote: I modified Hadoop source code. I need to include my own jar. Where should I put the jar? Do I need

Re: How to include my own jar when building Hadoop?

2011-01-24 Thread Harsh J
If you've modified Hadoop sources, you can use it's ant build-system's jar command to make a jar for you with your changes compiled into it. You can then use that created jar (from build/) to deploy it. On Mon, Jan 24, 2011 at 6:04 PM, Zhenhua Guo jen...@gmail.com wrote: I modified Hadoop source