This only happens if you add a class from the jar to the JobConf
creation line.
JobConf conf = new JobConf(MyClass.class);
JobConf
public JobConf(Class exampleClass)
Construct a map/reduce job configuration.
Parameters:
exampleClass - a class whose containing jar is used a
Yeah, everything is packaged into one jar...I've been copying those jars
everywhere which didn't seem right, hence the question.
Thanks,
C G
Ted Dunning <[EMAIL PROTECTED]> wrote:
The easiest way is to package all of your code (classes and jars) into a
single jar file which you then
The easiest way is to package all of your code (classes and jars) into a
single jar file which you then execute. When you instantiate a JobClient
and run a job, your jar gets copied to all necessary nodes. The machine you
use to launch the job need not even be in the cluster, just able to see th
Hi All:
When deploying a jar file containing code for a Hadoop job, is it necessary
to copy the jar to the same path on all nodes in the grid, or just on the node
which will launch the job?
Thanks,
C G
-
You rock. That's why Blockbuster's