[英]Is there any params for setting 'Application Priority'?
I am looking for a way to set application priority for task in hive.我正在寻找一种方法来为配置单元中的任务设置应用程序优先级。 When task is committed, I want to set a high priority (like 100) to it.提交任务后,我想为其设置高优先级(如 100)。 this param can be seen on page:这个参数可以在页面上看到: I am looking for a param like 'set mapreduce.map.memory.mb=4096;',so I can set priority for this task.我正在寻找类似“set mapreduce.map.memory.mb=4096;”的参数,因此我可以为此任务设置优先级。
In hive session, also it is possible to set the same property in map-reduce program configuration :在配置单元会话中,也可以在map-reduce 程序配置中设置相同的属性:
SET mapreduce.job.priority=VERY_HIGH;
For the job_id:对于 job_id:
hadoop job -set-priority <job-id> <priority>
There are five possible priority levels:有五个可能的优先级:
VERY_HIGH
HIGH
NORMAL
LOW
VERY_LOW
Queue priority configuration: https://hadoop.apache.org/docs/stable/hadoop-yarn/hadoop-yarn-site/CapacityScheduler.html#Setup_for_application_priority .队列优先级配置: https ://hadoop.apache.org/docs/stable/hadoop-yarn/hadoop-yarn-site/CapacityScheduler.html#Setup_for_application_priority。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.