指定作业提交的优先级和队列

hadoop jar /home/ochadoop/app/hadoop/share/hadoop/mapreduce/hadoop-mapreduce-examples-2.3.0-cdh5.0.2.jar pi -Dmapreduce.job.queuename=ochadoop 50 100
作业提交到的队列:mapreduce.job.queuename
作业优先级:mapreduce.job.priority
Pig版本:
SET mapreduce.job.queuename root.etl.distcp;
SET mapreduce.job.priority HIGH;
Hive版本:
SET mapreduce.job.queuename=root.etl.distcp;
SET mapreduce.job.priority=HIGH;
MapReduce版本:
hadoop jar app.jar -D mapreduce.job.queuename=root.etl.distcp -D mapreduce.job.priority=HIGH

引用:

http://blog.csdn.net/wisgood/article/details/39075883

    原文作者:算法小白
    原文地址: https://www.cnblogs.com/huaxiaoyao/p/5143954.html
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞