iwasakims commented on PR #916:
URL: https://github.com/apache/bigtop/pull/916#issuecomment-1159396687

   Previously yarn app submitted by root user are submitted "root.root" queue 
by default. Currently "root" seems to be used as default queue name which is 
invalid.
   
   ```
   [root@04603225dae7 /]# yarn jar 
/usr/lib/hadoop-mapreduce/hadoop-mapreduce-examples.jar pi 1 1000
   ...
   java.io.IOException: org.apache.hadoop.yarn.exceptions.YarnException: Failed 
to submit application_1655533034162_0001 to YARN : root is not a leaf queue
        at org.apache.hadoop.mapred.YARNRunner.submitJob(YARNRunner.java:346)
        at 
org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(JobSubmitter.java:251)
        at org.apache.hadoop.mapreduce.Job$11.run(Job.java:1571)
   ```
   
   Explicitly specifying queue name fixes this. Users other than root should 
have no issue.
   
   ```
   # yarn jar /usr/lib/hadoop-mapreduce/hadoop-mapreduce-examples.jar pi 
-Dmapred.job.queue.name=root.root 1 1000
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to