Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hadoop >> mail # user >> How to rebuild Hadoop ??


Copy link to this message
-
Re: How to rebuild Hadoop ??
Matthew,
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 <[EMAIL PROTECTED]> 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
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB