Queue to which the job was submitted: Mapreduce.job.queuename
Job Priority: Mapreduce.job.priority, priority defaults to 5: Low Very_low NORMAL (default) high Very_high 1, static settings 1.1 Pig version
SET Mapreduce.job.queuename root.etl.distcp;
SET Mapreduce.job.priority High; 1.2 Hive version
SET mapreduce.job.queuename=root.etl.distcp;
SET Mapreduce.job.priority=high; 1.3 MapReduce Version:
Hadoop jar app.jar-d mapreduce.job.queuename=root.etl.distcp-d mapreduce.job.priority=high 2, dynamic tuning If you are already running a task, you can dynamically adjust the queue to which the task belongs and its precedence.
2.1 Adjustment Priority hadoop1.0 and the following version: Hadoop job-set-priority job_201707060942_6121418 very_high
hadoop2.0 and above: Yarn application-appid application_1478676388082_963529-updatepriority very_high
2.2 Dynamically adjust queue hadoop2.0 and above versions can be by the following command:
Yarn application -movetoqueue application_1478676388082_963529 -queue root.etl
where application_1478676388082_963529 is yarn Applition Id,queue is followed by a queue that requires move to.