<?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 Re: Is it possible to assign Hadoop queues to Hadoop tools ? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-it-possible-to-assign-Hadoop-queues-to-Hadoop-tools/m-p/205477#M66053</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/15772/pathanfahim1986.html" nodeid="15772"&gt;@Mohammedfahim Pathan&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You assign queues when you run your jobs. For example in spark you can specify --queue parameter. In YARN configuration you specify ACL on who is part of the queue. This can be users that are running those "tools". So you cannot say that a queue is meant for "Hive", but when you limit a queue to a group using Hive only, then in a way you achieve your purpose.&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>Fri, 04 Aug 2017 21:00:57 GMT</pubDate>
    <dc:creator>mqureshi</dc:creator>
    <dc:date>2017-08-04T21:00:57Z</dc:date>
    <item>
      <title>Is it possible to assign Hadoop queues to Hadoop tools ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-it-possible-to-assign-Hadoop-queues-to-Hadoop-tools/m-p/205476#M66052</link>
      <description>&lt;P&gt;Is it possible to assign Hadoop queues to Hadoop tools via Capacity scheduler ?&lt;/P&gt;&lt;P&gt;Example : &lt;/P&gt;&lt;P&gt;Hive queue will only cater request from Hive clients.&lt;/P&gt;&lt;P&gt;Spark queue will only cater request from Spark clients. &lt;/P&gt;&lt;P&gt;Question in another way : &lt;/P&gt;&lt;P&gt;Is it possible to map Hadoop components to Hadoop queue ?&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;Fahim&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 12:02:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-it-possible-to-assign-Hadoop-queues-to-Hadoop-tools/m-p/205476#M66052</guid>
      <dc:creator>MFP</dc:creator>
      <dc:date>2022-09-16T12:02:58Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to assign Hadoop queues to Hadoop tools ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-it-possible-to-assign-Hadoop-queues-to-Hadoop-tools/m-p/205477#M66053</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/15772/pathanfahim1986.html" nodeid="15772"&gt;@Mohammedfahim Pathan&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You assign queues when you run your jobs. For example in spark you can specify --queue parameter. In YARN configuration you specify ACL on who is part of the queue. This can be users that are running those "tools". So you cannot say that a queue is meant for "Hive", but when you limit a queue to a group using Hive only, then in a way you achieve your purpose.&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>Fri, 04 Aug 2017 21:00:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-it-possible-to-assign-Hadoop-queues-to-Hadoop-tools/m-p/205477#M66053</guid>
      <dc:creator>mqureshi</dc:creator>
      <dc:date>2017-08-04T21:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to assign Hadoop queues to Hadoop tools ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-it-possible-to-assign-Hadoop-queues-to-Hadoop-tools/m-p/205478#M66054</link>
      <description>&lt;P&gt;@mqureshi , Thanks for answer. It makes sense. &lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;Fahim&lt;/P&gt;</description>
      <pubDate>Tue, 08 Aug 2017 18:55:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-it-possible-to-assign-Hadoop-queues-to-Hadoop-tools/m-p/205478#M66054</guid>
      <dc:creator>MFP</dc:creator>
      <dc:date>2017-08-08T18:55:34Z</dc:date>
    </item>
  </channel>
</rss>

