hadoop-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arun C Murthy <...@yahoo-inc.com>
Subject Re: Doubts Regarding Capacity Scheduler's Function
Date Wed, 25 Nov 2009 00:10:11 GMT
(moving to mapreduce-user@hadoop.apache.org)

> I have set that property to a user defined queue Queue1 and now my
> submitted jobs are scheduled to Queue1,but I want to know the
> configuration example to schedule job1 to default ,then job2 to
> Queue2,etc.,

Use one of the several ways to pass the queue name as a config variable:

JobConf j = new JobConf();

j.setQueueName("myqueue");

or cmd line:
hadoop jar myjob.jar -Dmapred.job.queue.name=myqueue <other_args>

Arun

Mime
View raw message