To make a jar bundled big jar file using maven I suggest this plugin:
http://anydoby.com/fatjar/usage.html
But I prefer not doing so, because the classpath order is different
with different environment.
I guess your old myHadoopProgram.jar should contains Main-Class meta info.
So the
Fantastic ! Worked like a charm. Thanks much Bochun.
For those who are facing similar issues, here is the command and output:
$ hadoop jar ../MyHadoopProgram.jar com.ABC.MyHadoopProgram -libjars
~/CDH3/extJars/json-rpc-1.0.jar /usr/PD/input/sample22.json /usr/PD/output
11/10/08 17:51:45 INFO
Hi all,
I am migrating from ant builds to maven. So, brand new to Maven and do
not yet understand many parts of it.
Problem: I have a perfectly working map-reduce program (working by ant
build). This program needs an external jar file (json-rpc-1.0.jar). So, when
I run the program, I do the