hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lance Norskog <goks...@gmail.com>
Subject Re: How can I compile and use my own hadoop?
Date Tue, 09 Nov 2010 07:42:48 GMT
I write simple driver classes and run them from Eclipse. It takes some
fiddling, so if you're not comfortable with that, running it from ant
is your best bet.

On Mon, Nov 8, 2010 at 9:48 PM, Harsh J <qwertymaniac@gmail.com> wrote:
> Hi,
> On Tue, Nov 9, 2010 at 5:12 AM, Shen LI <geminialex007@gmail.com> wrote:
>> Hi,
>> How can I compile and use my own hadoop? I modified some source code of
>> hadoop-0.20.2. Then, I tried to build it with eclipse according to this
>> tutorial "http://wiki.apache.org/hadoop/EclipseEnvironment". It was build
>> successfully. But when I checked the output in
>> ${Hadoop_HOME}/build/eclipse-classes, I am confused about how to use it? I
>> mean how can I start-all and run jobs with my hadoop?
>> Thanks,
>> Shen
> In the checked-out directory, use ant with the provided build.xml's
> "tar" target to generate a distributable tar package for yourself;
> i.e. issue: `ant tar` in the root directory of your MR checkout/clone.
> It should appear in the build/ directory. "jar" works for creating
> jars too.
> --
> Harsh J
> www.harshj.com

Lance Norskog

View raw message