hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <cutt...@apache.org>
Subject Re: classloading issue
Date Fri, 03 Mar 2006 18:36:24 GMT
Stefan Groschupf wrote:
> So in short how to get my job processed that contains 2 jars without  
> restarting all taksrackers?

You can put multiple jars in the lib directory of your job jar file. 
(Look in Nutch's build.xml for an example.)  Note also that NutchJob 
specfies that the job jar is the jar that contains the NutchJob class. 
You can either override that by calling JobConf.setJar() or by 
constructing your job's with 'new JobConf(My.class)' instead of 'new 
NutchJob()' or 'new JobConf()'.  Does that help?

Doug

Mime
View raw message