Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-7347

Fixe the bug in Fair scheduler to handle a queue named "root.root"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      A queue named "root.root" may cause issue in Fair scheduler. For example, if we set the queue(root.root) to be reservable, then submit a job into the queue. We got following error.

      java.io.IOException: org.apache.hadoop.yarn.exceptions.YarnException: Failed to submit application_1508176133973_0002 to YARN : root.root is not a leaf queue
      	at org.apache.hadoop.mapred.YARNRunner.submitJob(YARNRunner.java:339)
      	at org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(JobSubmitter.java:253)
      	at org.apache.hadoop.mapreduce.Job$11.run(Job.java:1570)
      	at org.apache.hadoop.mapreduce.Job$11.run(Job.java:1567)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at javax.security.auth.Subject.doAs(Subject.java:422)
      	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1962)
      	at org.apache.hadoop.mapreduce.Job.submit(Job.java:1567)
      	at org.apache.hadoop.mapreduce.Job.waitForCompletion(Job.java:1588)
      	at org.apache.hadoop.examples.QuasiMonteCarlo.estimatePi(QuasiMonteCarlo.java:307)
      	at org.apache.hadoop.examples.QuasiMonteCarlo.run(QuasiMonteCarlo.java:360)
      	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76)
      	at org.apache.hadoop.examples.QuasiMonteCarlo.main(QuasiMonteCarlo.java:368)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.apache.hadoop.util.ProgramDriver$ProgramDescription.invoke(ProgramDriver.java:71)
      	at org.apache.hadoop.util.ProgramDriver.run(ProgramDriver.java:144)
      	at org.apache.hadoop.examples.ExampleDriver.main(ExampleDriver.java:74)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.apache.hadoop.util.RunJar.run(RunJar.java:239)
      	at org.apache.hadoop.util.RunJar.main(RunJar.java:153)
      Caused by: org.apache.hadoop.yarn.exceptions.YarnException: Failed to submit application_1508176133973_0002 to YARN : root.root is not a leaf queue
      	at org.apache.hadoop.yarn.client.api.impl.YarnClientImpl.submitApplication(YarnClientImpl.java:293)
      	at org.apache.hadoop.mapred.ResourceMgrDelegate.submitApplication(ResourceMgrDelegate.java:298)
      	at org.apache.hadoop.mapred.YARNRunner.submitJob(YARNRunner.java:324)
      	... 25 more
      

      Attachments

        Issue Links

          Activity

            People

              grepas Gergo Repas
              yufeigu Yufei Gu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: