<?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: How can I set priority to queues with Capacity Schedular? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-can-I-set-priority-to-queues-with-Capacity-Schedular/m-p/136432#M19022</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/206/hosako.html" nodeid="206"&gt;@Hajime&lt;/A&gt; aside from telling a job to elevate priority I don't know of other mechanisms. With Oozie, Sqoop, MR its possible. Probably possible with Spark and rest too.&lt;/P&gt;</description>
    <pubDate>Thu, 11 Feb 2016 08:40:38 GMT</pubDate>
    <dc:creator>aervits</dc:creator>
    <dc:date>2016-02-11T08:40:38Z</dc:date>
    <item>
      <title>How can I set priority to queues with Capacity Schedular?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-can-I-set-priority-to-queues-with-Capacity-Schedular/m-p/136431#M19021</link>
      <description>&lt;P&gt;I think at this moment, controlling priority by capacity and preemption would be the only way to start and finish high priority jobs faster, am I correct?&lt;/P&gt;&lt;P&gt;Ideally, I would like to set some priority *per* a job/application, but I found &lt;A href="https://issues.apache.org/jira/browse/YARN-1963" target="_blank"&gt;https://issues.apache.org/jira/browse/YARN-1963&lt;/A&gt; . So I guess this is not possible.&lt;/P&gt;&lt;P&gt;I also found &lt;A href="http://blog.sequenceiq.com/blog/2014/03/14/yarn-capacity-scheduler/" target="_blank"&gt;http://blog.sequenceiq.com/blog/2014/03/14/yarn-capacity-scheduler/&lt;/A&gt; which queue names are "highPriority" and "lowPriority", but if my reading is correct, this is not actually setting any priority but because the high has more capacity, the job finish faster.&lt;/P&gt;&lt;P&gt;Until YARN-1963 is released, I would like to always start jobs in highPrority queue before any jobs in lowPriority queue, and if possible, I would like low priority jobs to wait until high priority jobs finishes.&lt;/P&gt;&lt;P&gt;Any advice/hint is welcome.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2016 08:39:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-can-I-set-priority-to-queues-with-Capacity-Schedular/m-p/136431#M19021</guid>
      <dc:creator>hosako</dc:creator>
      <dc:date>2016-02-11T08:39:33Z</dc:date>
    </item>
    <item>
      <title>Re: How can I set priority to queues with Capacity Schedular?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-can-I-set-priority-to-queues-with-Capacity-Schedular/m-p/136432#M19022</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/206/hosako.html" nodeid="206"&gt;@Hajime&lt;/A&gt; aside from telling a job to elevate priority I don't know of other mechanisms. With Oozie, Sqoop, MR its possible. Probably possible with Spark and rest too.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2016 08:40:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-can-I-set-priority-to-queues-with-Capacity-Schedular/m-p/136432#M19022</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-02-11T08:40:38Z</dc:date>
    </item>
    <item>
      <title>Re: How can I set priority to queues with Capacity Schedular?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-can-I-set-priority-to-queues-with-Capacity-Schedular/m-p/136433#M19023</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/206/hosako.html" nodeid="206"&gt;@Hajime&lt;/A&gt;&lt;P&gt; See this &lt;A href="https://community.hortonworks.com/questions/8725/capacityscheduler-job-priority-preemption.html" target="_blank"&gt;https://community.hortonworks.com/questions/8725/capacityscheduler-job-priority-preemption.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2016 08:40:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-can-I-set-priority-to-queues-with-Capacity-Schedular/m-p/136433#M19023</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-02-11T08:40:47Z</dc:date>
    </item>
    <item>
      <title>Re: How can I set priority to queues with Capacity Schedular?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-can-I-set-priority-to-queues-with-Capacity-Schedular/m-p/136434#M19024</link>
      <description>&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;I didn't know "mapred.capacity-scheduler&amp;lt;queue-name&amp;gt;.supports-priority"&lt;/P&gt;&lt;P&gt;Is this supported?&lt;/P&gt;&lt;P&gt;I don't find any code matching "supports-priority" in hadoop project...&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2016 08:54:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-can-I-set-priority-to-queues-with-Capacity-Schedular/m-p/136434#M19024</guid>
      <dc:creator>hosako</dc:creator>
      <dc:date>2016-02-11T08:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: How can I set priority to queues with Capacity Schedular?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-can-I-set-priority-to-queues-with-Capacity-Schedular/m-p/136435#M19025</link>
      <description>&lt;P&gt;In the capacity scheduler your could set a high priority queue at 90% of the cluster with extension( max. Capacity) to 100% and a low priority queue wirh 10% with extension( max capacity)  to 100%. In this case jobs the first queue would always get 90% of the cluster if it needs it  and the second queue would only get a tiny amount of the cluster if the high priority Queues have Queries. The low priority queue would still be able to monopolize the cluster if if has very long running tasks. But you could fix that with preemption. ( Or by making sure tasks in your cluster don't run for too long which they shouldn't anyway.)&lt;/P&gt;</description>
      <pubDate>Thu, 11 Feb 2016 09:23:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-can-I-set-priority-to-queues-with-Capacity-Schedular/m-p/136435#M19025</guid>
      <dc:creator>bleonhardi</dc:creator>
      <dc:date>2016-02-11T09:23:25Z</dc:date>
    </item>
  </channel>
</rss>

