Re: problem about GenericOptionsParser -libjars

2010-10-27 Thread exception
Hi, Thanks Harsh. :) I try this configuration but it still doesn't work. The problem looks like that Classloader cannot find the mapper class, which has already been packed into the same JAR as other classes. Why the Classloader cannot find a class in the same JAR? And this JAR should have been

Re: problem about GenericOptionsParser -libjars

2010-10-27 Thread Harsh J
Hello, On Thu, Oct 28, 2010 at 9:02 AM, exception wrote: > Hi forks, /me branches self into two and cheers ;-) > > had...@master:~/eqin/joblauncher$ hadoop jar Greper.jar org.taomee.Greper > -libjars Greper.jar jobconf/jobconfig.xml In your job setup, do you do a JobConf.setJarByClass (or JobC

problem about GenericOptionsParser -libjars

2010-10-27 Thread exception
Hi forks, I am under hadoop 0.21.0. What I am trying to do is loading the mapper/reducer class at runtime according to a config file. I use -libjars to shipping JAR files that a job is dependent on. But seems it doesn't work. :( This is the error message: had...@master:~/eqin/joblauncher$ had