By 'tasks' you mean the various MapTask(s) that are launched by Hadoop
MapReduce? Or do you mean Jobs?

The former isn't possible AFAIK (and doesn't make real sense having,
please correct me if I'm wrong). For the latter you may look here for
the command to set a particular priority for the job:
http://hadoop.apache.org/common/docs/current/commands_manual.html#job

Also doable in the driver code, look at the JobConf API --
http://hadoop.apache.org/common/docs/current/api/org/apache/hadoop/mapred/JobConf.html#setJobPriority(org.apache.hadoop.mapred.JobPriority)

On Mon, Jul 26, 2010 at 3:28 PM, saurabhsuman8989
<[email protected]> wrote:
>
> Hi
> I want to add priority to tasks. How can i do it?
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/add-priority-to-task-tp995784p995784.html
> Sent from the Hadoop lucene-users mailing list archive at Nabble.com.
>

-- 
Harsh J
www.harshj.com

Reply via email to