hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Saptarshi Guha <saptarshi.g...@gmail.com>
Subject Pass -D options to hadoop jar
Date Wed, 24 Nov 2010 19:30:07 GMT
Hello,

A rather basic question, how do I pass the -D option to the wordcount?
I've tried several without
much success


hadoop jar  /usr/lib/hadoop/hadoop-0.20.2+320-examples.jar -D
mapred.job.tracker=local wordcount /wsc/sguha-test/x1
/wsc/sguha-test/x1.o

Unknown program '-D' chosen.


hadoop jar -D mapred.job.tracker=local
/usr/lib/hadoop/hadoop-0.20.2+320-examples.jar -wordcount
/wsc/sguha-test/x1 /wsc/sguha-test/x1.o

Exception in thread "main" java.io.IOException: Error opening job jar: -D
	at org.apache.hadoop.util.RunJar.main(RunJar.java:124)


Is there a way to pass -D options to hadoop jar?

Thanks
S

Mime
View raw message