<?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: Configure preemption in Yarn Fair Scheduler in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Configure-preemption-in-Yarn-Fair-Scheduler/m-p/148197#M110723</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/8919/rajkumarsingh.html" nodeid="8919"&gt;@Rajkumar Singh&lt;/A&gt;, does that mean that setting the class to org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FairScheduler does not take into effect?&lt;/P&gt;</description>
    <pubDate>Tue, 13 Sep 2016 10:54:58 GMT</pubDate>
    <dc:creator>arunak</dc:creator>
    <dc:date>2016-09-13T10:54:58Z</dc:date>
    <item>
      <title>Configure preemption in Yarn Fair Scheduler</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Configure-preemption-in-Yarn-Fair-Scheduler/m-p/148195#M110721</link>
      <description>&lt;P&gt;Hi All, 

Is there any reference doc for configuring pre-emption is YARN Fair Scheduler?&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2016 10:45:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Configure-preemption-in-Yarn-Fair-Scheduler/m-p/148195#M110721</guid>
      <dc:creator>arunak</dc:creator>
      <dc:date>2016-09-13T10:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: Configure preemption in Yarn Fair Scheduler</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Configure-preemption-in-Yarn-Fair-Scheduler/m-p/148196#M110722</link>
      <description>&lt;P&gt;HDP dont support Fair Scheduler, it support only capacity scheduler, you can check the following documents to configure pre-emption in capacity scheduler&lt;/P&gt;&lt;P&gt;&lt;A href="http://hortonworks.com/blog/better-slas-via-resource-preemption-in-yarns-capacityscheduler/" target="_blank"&gt;http://hortonworks.com/blog/better-slas-via-resource-preemption-in-yarns-capacityscheduler/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2016 10:51:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Configure-preemption-in-Yarn-Fair-Scheduler/m-p/148196#M110722</guid>
      <dc:creator>rajkumar_singh</dc:creator>
      <dc:date>2016-09-13T10:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: Configure preemption in Yarn Fair Scheduler</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Configure-preemption-in-Yarn-Fair-Scheduler/m-p/148197#M110723</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/8919/rajkumarsingh.html" nodeid="8919"&gt;@Rajkumar Singh&lt;/A&gt;, does that mean that setting the class to org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FairScheduler does not take into effect?&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2016 10:54:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Configure-preemption-in-Yarn-Fair-Scheduler/m-p/148197#M110723</guid>
      <dc:creator>arunak</dc:creator>
      <dc:date>2016-09-13T10:54:58Z</dc:date>
    </item>
    <item>
      <title>Re: Configure preemption in Yarn Fair Scheduler</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Configure-preemption-in-Yarn-Fair-Scheduler/m-p/148198#M110724</link>
      <description>&lt;P&gt;Hi Arun, FairScheduler is not HDP recommended/supported resource scheduler, so we don't have document to cover it. Please refer apache one: &lt;A href="https://hadoop.apache.org/docs/r2.7.3/hadoop-yarn/hadoop-yarn-site/FairScheduler.html" target="_blank"&gt;https://hadoop.apache.org/docs/r2.7.3/hadoop-yarn/hadoop-yarn-site/FairScheduler.html&lt;/A&gt;. &lt;/P&gt;&lt;P&gt;I would like to add more background here: preemption feature is firstly added into CapacityScheduler which is quit mature and production ready. For FairScheduler, I am not exactly sure status (alpha or GA) but just notice several fixes are going on in community: &lt;A href="https://issues.apache.org/jira/browse/YARN-4752" target="_blank"&gt;https://issues.apache.org/jira/browse/YARN-4752&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Any special reason to use FairScheduler? If not, you can also try preemption for CapacityScheduler. Here is doc: &lt;A href="https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.4.2/bk_yarn_resource_mgt/content/preemption.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.4.2/bk_yarn_resource_mgt/content/preemption.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2016 11:03:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Configure-preemption-in-Yarn-Fair-Scheduler/m-p/148198#M110724</guid>
      <dc:creator>jdu</dc:creator>
      <dc:date>2016-09-13T11:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: Configure preemption in Yarn Fair Scheduler</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Configure-preemption-in-Yarn-Fair-Scheduler/m-p/148199#M110725</link>
      <description>&lt;P&gt;Hi Arun - This post describes how you can use preemption with a fair policy in the capacity scheduler.  It should give you a similar behavior to the fair scheduler but using a YARN capacity queue.    &lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/articles/44079/yarn-pre-emption-with-spark-using-a-fair-policy.html" target="_blank"&gt;https://community.hortonworks.com/articles/44079/yarn-pre-emption-with-spark-using-a-fair-policy.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2016 11:18:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Configure-preemption-in-Yarn-Fair-Scheduler/m-p/148199#M110725</guid>
      <dc:creator>ccasano</dc:creator>
      <dc:date>2016-09-13T11:18:13Z</dc:date>
    </item>
    <item>
      <title>Re: Configure preemption in Yarn Fair Scheduler</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Configure-preemption-in-Yarn-Fair-Scheduler/m-p/148200#M110726</link>
      <description>&lt;P&gt;Thanks &lt;A rel="user" href="https://community.cloudera.com/users/1047/jdu.html" nodeid="1047"&gt;@Junping Du&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2016 11:20:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Configure-preemption-in-Yarn-Fair-Scheduler/m-p/148200#M110726</guid>
      <dc:creator>arunak</dc:creator>
      <dc:date>2016-09-13T11:20:47Z</dc:date>
    </item>
    <item>
      <title>Re: Configure preemption in Yarn Fair Scheduler</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Configure-preemption-in-Yarn-Fair-Scheduler/m-p/148201#M110727</link>
      <description>&lt;P&gt;Thanks Chris. I will have a look. &lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2016 11:21:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Configure-preemption-in-Yarn-Fair-Scheduler/m-p/148201#M110727</guid>
      <dc:creator>arunak</dc:creator>
      <dc:date>2016-09-13T11:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: Configure preemption in Yarn Fair Scheduler</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Configure-preemption-in-Yarn-Fair-Scheduler/m-p/148202#M110728</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10529/akeezhadath.html" nodeid="10529"&gt;@Arun A K&lt;/A&gt; it does take effect after setting yarn.resourcemanager.scheduler.class value to org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FairScheduler using ambari but there is no property in ambari with the name of yarn.scheduler.fair.allocation.file so you need to define the custom property with the name of yarn.scheduler.fair.allocation.file and set it to fair-scheduler.xml.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2016 11:21:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Configure-preemption-in-Yarn-Fair-Scheduler/m-p/148202#M110728</guid>
      <dc:creator>rajkumar_singh</dc:creator>
      <dc:date>2016-09-13T11:21:49Z</dc:date>
    </item>
    <item>
      <title>Re: Configure preemption in Yarn Fair Scheduler</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Configure-preemption-in-Yarn-Fair-Scheduler/m-p/148203#M110729</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/8919/rajkumarsingh.html" nodeid="8919"&gt;@Rajkumar Singh&lt;/A&gt;, okay got it. One more related question - On which node should I be placing the fair allocation xml file? &lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2016 11:24:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Configure-preemption-in-Yarn-Fair-Scheduler/m-p/148203#M110729</guid>
      <dc:creator>arunak</dc:creator>
      <dc:date>2016-09-13T11:24:31Z</dc:date>
    </item>
    <item>
      <title>Re: Configure preemption in Yarn Fair Scheduler</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Configure-preemption-in-Yarn-Fair-Scheduler/m-p/148204#M110730</link>
      <description>&lt;P&gt;on RM node and restart the RM.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2016 11:25:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Configure-preemption-in-Yarn-Fair-Scheduler/m-p/148204#M110730</guid>
      <dc:creator>rajkumar_singh</dc:creator>
      <dc:date>2016-09-13T11:25:31Z</dc:date>
    </item>
  </channel>
</rss>

