hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Zhang <zjf...@gmail.com>
Subject Re: How to rebuild Hadoop ??
Date Wed, 08 Sep 2010 04:34:39 GMT
You should put your code in the example source folder, and rebuild the
example.  And use the new generated hadoop*version*example.jar in the
build folder.

PS: each mapred job needs a jar which contains the classes this job needs

On Tue, Sep 7, 2010 at 8:14 PM, Matthew John <tmatthewjohn1988@gmail.com> wrote:
> Hi all,
>  I wrote some new writable files corresponding to my data input. I added
> them to /src/org/......../io/ where all the writables reside. Similarly, I
> also wrote input/output format files and a recordreader and added them to
> src/mapred/...../mapred/ where all related files reside.
>  I want to run the Sort function (in examples) with these new classes
> (writables, recreader, i/oformat). So I also modified the Sort to
> incorporate these files and import them in the Sort.java file. After all
> this, I gave a ant clean and then ant command to build everything fresh. But
> nothing really happened I guess because when I run the program , it give
> ClassNotFoundException for the classes I give as parameters in the command.
>  Some one please help me out !! How to modify the core/ files (incorporate
> more core io/mapred files) in HADOOP !!
> Thanks,
> Matthew John

Best Regards

Jeff Zhang

View raw message