<?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 Hive unknown queue: Default error in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Hive-unknown-queue-Default-error/m-p/148033#M110562</link>
    <description>&lt;P&gt;Hi, I have setup Hive in my cluster. When I try to enter the Hive shell, I get the following error:&lt;/P&gt;&lt;P&gt;WARNING: Use "yarn jar" to launch YARN applications.
Logging initialized using configuration in file:/etc/hive/2.3.4.7-4/0/hive-log4j.properties
Exception in thread "main" java.lang.RuntimeException: org.apache.tez.dag.api.TezException: org.apache.hadoop.yarn.exceptions.YarnException: Failed to submit application_1477290706349_0010 to YARN : Application application_1477290706349_0010 submitted by user hive to unknown queue: default&lt;/P&gt;&lt;P&gt;I understand that it is trying to submit to some an unknown queue 'default' which perhaps does not exist. I have some queues in the Yarn Resource Manager whose screenshot I have attached.&lt;/P&gt;&lt;P&gt;It will be very helpful if anyone can guide on how I can hit the existing queue. Are there any configuration changes that need to be made?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://community.cloudera.com/t5/image/serverpage/image-id/6524i1F5771BCA1CC1A27/image-size/large?v=1.0&amp;amp;px=999" border="0" alt="yarn-queue-manager.png" title="yarn-queue-manager.png" /&gt;</description>
    <pubDate>Tue, 25 Oct 2016 13:13:19 GMT</pubDate>
    <dc:creator>kamlepooja_raje</dc:creator>
    <dc:date>2016-10-25T13:13:19Z</dc:date>
    <item>
      <title>Hive unknown queue: Default error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-unknown-queue-Default-error/m-p/148033#M110562</link>
      <description>&lt;P&gt;Hi, I have setup Hive in my cluster. When I try to enter the Hive shell, I get the following error:&lt;/P&gt;&lt;P&gt;WARNING: Use "yarn jar" to launch YARN applications.
Logging initialized using configuration in file:/etc/hive/2.3.4.7-4/0/hive-log4j.properties
Exception in thread "main" java.lang.RuntimeException: org.apache.tez.dag.api.TezException: org.apache.hadoop.yarn.exceptions.YarnException: Failed to submit application_1477290706349_0010 to YARN : Application application_1477290706349_0010 submitted by user hive to unknown queue: default&lt;/P&gt;&lt;P&gt;I understand that it is trying to submit to some an unknown queue 'default' which perhaps does not exist. I have some queues in the Yarn Resource Manager whose screenshot I have attached.&lt;/P&gt;&lt;P&gt;It will be very helpful if anyone can guide on how I can hit the existing queue. Are there any configuration changes that need to be made?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://community.cloudera.com/t5/image/serverpage/image-id/6524i1F5771BCA1CC1A27/image-size/large?v=1.0&amp;amp;px=999" border="0" alt="yarn-queue-manager.png" title="yarn-queue-manager.png" /&gt;</description>
      <pubDate>Tue, 25 Oct 2016 13:13:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-unknown-queue-Default-error/m-p/148033#M110562</guid>
      <dc:creator>kamlepooja_raje</dc:creator>
      <dc:date>2016-10-25T13:13:19Z</dc:date>
    </item>
    <item>
      <title>Re: Hive unknown queue: Default error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-unknown-queue-Default-error/m-p/148034#M110563</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3600/kamlepoojarajendra2014.html" nodeid="3600"&gt;@Pooja Kamle&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I dont see a default queue in your capacity scheduler. It is always recommended to have a defaut queue with some capacity so any queries that doesnt have a queue mapped can go to the default queue. As far as the current issue you are having, please set the below parameter before running your query.&lt;/P&gt;&lt;P&gt;if the query is running as MR:&lt;/P&gt;&lt;P&gt;set mapreduce.job.queuename=&amp;lt;queue name&amp;gt;&lt;/P&gt;&lt;P&gt;If the query is running as TEZ enginer:&lt;/P&gt;&lt;P&gt;set tez.queue.name=&amp;lt;queue name&amp;gt;&lt;/P&gt;&lt;P&gt;You can always pass this parameter as hiveconf as well.&lt;/P&gt;&lt;P&gt;Let me know if this helps&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2016 19:53:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-unknown-queue-Default-error/m-p/148034#M110563</guid>
      <dc:creator>hrongali</dc:creator>
      <dc:date>2016-10-25T19:53:29Z</dc:date>
    </item>
    <item>
      <title>Re: Hive unknown queue: Default error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-unknown-queue-Default-error/m-p/148035#M110564</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/267/hrongali.html" nodeid="267"&gt;@Hari Rongali&lt;/A&gt; &lt;/P&gt;&lt;P&gt;I set mapreduce.job.queuename=&amp;lt;queue name&amp;gt; and it works. Thanks a lot for your answer.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2016 16:20:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-unknown-queue-Default-error/m-p/148035#M110564</guid>
      <dc:creator>kamlepooja_raje</dc:creator>
      <dc:date>2016-10-26T16:20:46Z</dc:date>
    </item>
  </channel>
</rss>

