User xxxxxx cannot submit applications to queue root.default

Job Submission failed with exception 'java.io.IOException(org.apache.hadoop.yarn.exceptions.YarnException: Failed to submit application_1xxxxxxxxxxxxx to YARN : User xxxxxx cannot submit applications to queue root.default)'

FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask

集群的MapReduce含有多个队列,一个是root.default队列,其他是xxxx队列;如果不指定提交到哪个队列,hadoop就会将此Job提交到默认的root.default队列中,但是集群如果设定了job由MapReduce的其他队列受理,提交到root.default队列的任务通通被打回


解决方案(指定Job提交到哪个MapReduce的队列,在shell中执行):

set mapred.job.queue.name=root.xxxxx;



你可能感兴趣的:(BigData)