<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Unknown queue: default in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unknown-queue-default/m-p/127722#M39179</link>
    <description>&lt;P&gt;Hi All, 

I created 3 yarn queues under root queue. Assigned the right ACLs and verified the user permissions by submitting the job as permitted and non permitted users. Every thing looks fine.I was using wordcount jar to submit the program to queue using the property -Dmapreduce.job.queuename=whatever.  

However, when I submit a job without the queuename property, the job gets submitted to a queue called "default", which no longer exists. I have renamed this queue and all the services were restarted. 

What could be the property that I have missed configuring? 

Current issue is 

&lt;/P&gt;&lt;PRE&gt;java.io.IOException: Failed to run job : Application application_1472567001293_0007 submitted by user whoever to unknown queue: default&lt;/PRE&gt;</description>
    <pubDate>Tue, 30 Aug 2016 22:07:07 GMT</pubDate>
    <dc:creator>arunak</dc:creator>
    <dc:date>2016-08-30T22:07:07Z</dc:date>
    <item>
      <title>Unknown queue: default</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unknown-queue-default/m-p/127722#M39179</link>
      <description>&lt;P&gt;Hi All, 

I created 3 yarn queues under root queue. Assigned the right ACLs and verified the user permissions by submitting the job as permitted and non permitted users. Every thing looks fine.I was using wordcount jar to submit the program to queue using the property -Dmapreduce.job.queuename=whatever.  

However, when I submit a job without the queuename property, the job gets submitted to a queue called "default", which no longer exists. I have renamed this queue and all the services were restarted. 

What could be the property that I have missed configuring? 

Current issue is 

&lt;/P&gt;&lt;PRE&gt;java.io.IOException: Failed to run job : Application application_1472567001293_0007 submitted by user whoever to unknown queue: default&lt;/PRE&gt;</description>
      <pubDate>Tue, 30 Aug 2016 22:07:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unknown-queue-default/m-p/127722#M39179</guid>
      <dc:creator>arunak</dc:creator>
      <dc:date>2016-08-30T22:07:07Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown queue: default</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unknown-queue-default/m-p/127723#M39180</link>
      <description>&lt;P&gt;You have to give a queuename. When you don't specify a queuename, by defalut everything tries to hit default queue which is removed now. You have to either specify a queuename or create a user to queue mapping, so based on user, the job goes to a specific queue. &lt;/P&gt;</description>
      <pubDate>Wed, 31 Aug 2016 00:13:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unknown-queue-default/m-p/127723#M39180</guid>
      <dc:creator>ravi1</dc:creator>
      <dc:date>2016-08-31T00:13:59Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown queue: default</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unknown-queue-default/m-p/127724#M39181</link>
      <description>&lt;P&gt;Thanks &lt;A rel="user" href="https://community.cloudera.com/users/216/ravi.html" nodeid="216"&gt;@Ravi Mutyala&lt;/A&gt;, what I have done is a queuename to group mapping. Does this not work? Should I explicitly add the user names rather than the group names? &lt;/P&gt;&lt;P&gt;
Current configuration &lt;/P&gt;&lt;PRE&gt;q1 - group sales
q2 - group marketing
q3 - group dev&lt;/PRE&gt;&lt;P&gt;
Should I change this to &lt;/P&gt;&lt;PRE&gt;q1 - salesuser1,salesuser2,salesuser3
q2 - mktguser1,mktguser2
q3 - devuser1,devuser2,devuser3,devuser4&lt;/PRE&gt;</description>
      <pubDate>Wed, 31 Aug 2016 00:14:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unknown-queue-default/m-p/127724#M39181</guid>
      <dc:creator>arunak</dc:creator>
      <dc:date>2016-08-31T00:14:52Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown queue: default</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unknown-queue-default/m-p/127725#M39182</link>
      <description>&lt;P&gt;Try hdfs groups for that user to see if group mapping is working. If its then, your configuration should be like below.&lt;/P&gt;&lt;PRE&gt; &amp;lt;property&amp;gt;
   &amp;lt;name&amp;gt;yarn.scheduler.capacity.queue-mappings&amp;lt;/name&amp;gt;
   &amp;lt;value&amp;gt;u:user1:queue1,g:group1:queue2,u:%user:%user,u:user2:%primary_group&amp;lt;/value&amp;gt;
   &amp;lt;description&amp;gt;
     Here, &amp;lt;user1&amp;gt; is mapped to &amp;lt;queue1&amp;gt;, &amp;lt;group1&amp;gt; is mapped to &amp;lt;queue2&amp;gt;, 
     maps users to queues with the same name as user, &amp;lt;user2&amp;gt; is mapped 
     to queue name same as &amp;lt;primary group&amp;gt; respectively. The mappings will be 
     evaluated from left to right, and the first valid mapping will be used.
   &amp;lt;/description&amp;gt;
 &amp;lt;/property&amp;gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 31 Aug 2016 00:26:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unknown-queue-default/m-p/127725#M39182</guid>
      <dc:creator>ravi1</dc:creator>
      <dc:date>2016-08-31T00:26:15Z</dc:date>
    </item>
    <item>
      <title>Re: Unknown queue: default</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unknown-queue-default/m-p/127726#M39183</link>
      <description>&lt;P&gt;Hey, &lt;/P&gt;&lt;P&gt;I got the same error and tried to change the queue mapping as shown in the reply. The exception still persists. Is there any other configuration in capacity scheduler that I am missing?&lt;/P&gt;&lt;PRE&gt; org.apache.hadoop.yarn.exceptions.YarnException: Failed to submit application_1523981307991_0009 to
 YARN : Application application_1523981307991_0009 submitted by user hadoop to unknown queue: Queue1
&lt;/PRE&gt;&lt;PRE&gt;&amp;lt;property&amp;gt;
   &amp;lt;name&amp;gt;yarn.scheduler.capacity.queue-mappings&amp;lt;/name&amp;gt;
   &amp;lt;value&amp;gt;u:user1:queue1,g:group1:queue2,u:%user:%user,u:user2:%primary_group&amp;lt;/value&amp;gt;
   &amp;lt;description&amp;gt;
     Here, &amp;lt;user1&amp;gt; is mapped to &amp;lt;queue1&amp;gt;, &amp;lt;group1&amp;gt; is mapped to &amp;lt;queue2&amp;gt;, 
     maps users to queues with the same name as user, &amp;lt;user2&amp;gt; is mapped 
     to queue name same as &amp;lt;primary group&amp;gt; respectively. The mappings will be 
     evaluated from left to right, and the first valid mapping will be used.
   &amp;lt;/description&amp;gt;
 &amp;lt;/property&amp;gt;
&lt;BR /&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 19 Apr 2018 12:03:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Unknown-queue-default/m-p/127726#M39183</guid>
      <dc:creator>niralipatel873</dc:creator>
      <dc:date>2018-04-19T12:03:05Z</dc:date>
    </item>
  </channel>
</rss>

