hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthew John <tmatthewjohn1...@gmail.com>
Subject Re: How to rebuild Hadoop ??
Date Wed, 08 Sep 2010 09:58:41 GMT
Hey Jeff ,

I gave the command :

 bin/hadoop jar hadoop-0.20.2-examples.jar sort -libjars
./build/hadoop-0.20.3-dev-core.jar -inFormat
org.apache.hadoop.mapred.MetafileInputFormat -outFormat
org.apache.hadoop.mapred.MetafileOutputFormat -outKey
org.apache.hadoop.io.FpMetaId -outValue org.apache.hadoop.io.FpMetadata
fp_input fp_output

where hadoop-0.20.3-dev-core.jar is the new core jar (using command ant jar)
whereas hadoop-0.20.2-examples.jar is still the same old examples jar file
(I couldnot  make the new examples jar using ant examples since I doesnt
have the latest dependencies on the new classes i have defined). the other
parameters are the new classes I want to use for running Sort.
I feel I should make the new examples jar but dont know how to .. :( :( ..
please tell me how to give new core jar as a parameter to run the ant
examples.

I am getting the following errors when i ran the command.. :

java.lang.ClassNotFoundException:
org.apache.hadoop.mapred.MetafileInputFormat.. and so on ...

Thanks,

Matthew

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message