Hi Shivani,
 It should be -Dmapred.job.queue.name= 
Viraj

-----Original Message-----
From: Shivani Rao [mailto:sg...@purdue.edu] 
Sent: Sunday, February 20, 2011 3:40 PM
To: common-u...@hadoop.apache.org; common-dev@hadoop.apache.org
Subject: Specify queue name for a hadoop job

I am having trouble specifying queue name where a job needs to be submitted. I 
would like to know if I am using the right syntax.

I find the name of the queue that is assigned to me

$hadoop queue -showacls

and find that its <queue name>

I then run a simple pi estimate using the following command

$hadoop jar /path to hadoop examples/hadoop-examples.jar pi 10 10000 
-Dmapred.queue.name=<queue name>

and I get a syntax error 

If I don't specify the queue name i get a java.IOexception saying "could not 
find "default" queue "

If anybody has specified queues before your help is appreciated

Regards,
Shivani

Reply via email to