<?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 there any UI for fair scheduler of yarn? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-there-any-UI-for-fair-scheduler-of-yarn/m-p/102208#M14771</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1208/maximalpanteleev.html" nodeid="1208"&gt;@Maxim Panteleev&lt;/A&gt;  do we have option to set default mappings to these queues similar to capacity scheduler queue mappings.&lt;/P&gt;</description>
    <pubDate>Fri, 21 Oct 2016 04:43:21 GMT</pubDate>
    <dc:creator>2rajukv</dc:creator>
    <dc:date>2016-10-21T04:43:21Z</dc:date>
    <item>
      <title>Is there any UI for fair scheduler of yarn?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-there-any-UI-for-fair-scheduler-of-yarn/m-p/102205#M14768</link>
      <description>&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;In hdp-2.3.2.0-2950, there are UIs for capacity scheduler in Ambari: &lt;/P&gt;&lt;P&gt;Yarn &amp;gt; Configs &amp;gt; Scheduler&lt;/P&gt;&lt;P&gt;Yarn Queue Manager menu on the Top&lt;/P&gt;&lt;P&gt;Is there any UI for fair scheduler? &lt;/P&gt;&lt;P&gt;If not, how can I set the fair scheduler? &lt;/P&gt;&lt;P&gt;Both value of yarn.resourcemanager.scheduler.class and fair-scheduler.xml are enough?&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;park &lt;/P&gt;</description>
      <pubDate>Tue, 12 Jan 2016 18:02:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-there-any-UI-for-fair-scheduler-of-yarn/m-p/102205#M14768</guid>
      <dc:creator>younggeun_park</dc:creator>
      <dc:date>2016-01-12T18:02:52Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any UI for fair scheduler of yarn?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-there-any-UI-for-fair-scheduler-of-yarn/m-p/102206#M14769</link>
      <description>&lt;P&gt;I am not aware of any Fair Scheduler specific UI.&lt;/P&gt;&lt;P&gt;To enable the Fair Scheduler change the scheduler class in &lt;EM&gt;yarn-site&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;&amp;lt;property&amp;gt;
  &amp;lt;name&amp;gt;yarn.resourcemanager.scheduler.class&amp;lt;/name&amp;gt;
  &amp;lt;value&amp;gt;org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FairScheduler&amp;lt;/value&amp;gt;
&amp;lt;/property&amp;gt;&lt;/PRE&gt;&lt;P&gt;Make sure &lt;EM&gt;yarn.scheduler.fair.allocation.file&lt;/EM&gt; is pointing to your fair-scheduler.xml&lt;/P&gt;&lt;P&gt;Check out &lt;A target="_blank" href="https://hadoop.apache.org/docs/current/hadoop-yarn/hadoop-yarn-site/FairScheduler.html"&gt;https://hadoop.apache.org/docs/current/hadoop-yarn/hadoop-yarn-site/FairScheduler.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jan 2016 19:37:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-there-any-UI-for-fair-scheduler-of-yarn/m-p/102206#M14769</guid>
      <dc:creator>jstraub</dc:creator>
      <dc:date>2016-01-12T19:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any UI for fair scheduler of yarn?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-there-any-UI-for-fair-scheduler-of-yarn/m-p/102207#M14770</link>
      <description>&lt;P&gt;There is only one setting in UI where you can change scheduler class. Go to Ambari-&amp;gt;YARN-&amp;gt;Configs-&amp;gt;Advanced-&amp;gt;Scheduler. In case of the FairScheduler, here it is: yarn.resourcemanager.scheduler.class. it should be set, as &lt;A rel="user" href="https://community.cloudera.com/users/113/jstraub.html" nodeid="113"&gt;@Jonas Straub&lt;/A&gt; mentioned, to 'org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FairScheduler'. But if you want to define some queues, after setting/saving new scheduler type, go to server where the YARN resource manager is running (it could be pull off from Ambari YARN page) and find the folder that contains file 'yarn-site.xml', put there file 'fair-scheduler.xml' with content:&lt;/P&gt;&lt;PRE&gt;&amp;lt;?xml version="1.0"?&amp;gt;
&amp;lt;allocations&amp;gt;
    &amp;lt;queue name="default"&amp;gt;
        &amp;lt;weight&amp;gt;30&amp;lt;/weight&amp;gt;
        &amp;lt;schedulingPolicy&amp;gt;fair&amp;lt;/schedulingPolicy&amp;gt;
    &amp;lt;/queue&amp;gt;
    &amp;lt;queue name="system_queue"&amp;gt;
        &amp;lt;weight&amp;gt;70&amp;lt;/weight&amp;gt;
        &amp;lt;schedulingPolicy&amp;gt;fifo&amp;lt;/schedulingPolicy&amp;gt;
    &amp;lt;/queue&amp;gt;
    &amp;lt;queuePlacementPolicy&amp;gt;
        &amp;lt;rule name="specified" create="false" /&amp;gt;
        &amp;lt;rule name="default" queue="default" /&amp;gt;
    &amp;lt;/queuePlacementPolicy&amp;gt;
&amp;lt;/allocations&amp;gt;
&lt;/PRE&gt;&lt;P&gt;here 30:70 ration is treated as fair :). Adjust it according to your needs and don't forget to restart YARN in Ambari.&lt;/P&gt;&lt;P&gt;To verify your changes, go to Ambari-&amp;gt;YARN-&amp;gt;Quick Links-&amp;gt;ResourceManager UI and navigate to Scheduler on the left side. There you should see your scheduler type and queue configuration.&lt;/P&gt;&lt;P&gt;If you still have any questions, don't hesitate to ask.&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2016 15:38:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-there-any-UI-for-fair-scheduler-of-yarn/m-p/102207#M14770</guid>
      <dc:creator>maxim_al_pantel</dc:creator>
      <dc:date>2016-05-20T15:38:44Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any UI for fair scheduler of yarn?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-there-any-UI-for-fair-scheduler-of-yarn/m-p/102208#M14771</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1208/maximalpanteleev.html" nodeid="1208"&gt;@Maxim Panteleev&lt;/A&gt;  do we have option to set default mappings to these queues similar to capacity scheduler queue mappings.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2016 04:43:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-there-any-UI-for-fair-scheduler-of-yarn/m-p/102208#M14771</guid>
      <dc:creator>2rajukv</dc:creator>
      <dc:date>2016-10-21T04:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any UI for fair scheduler of yarn?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-there-any-UI-for-fair-scheduler-of-yarn/m-p/285539#M14772</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried the same steps in Ambari.&amp;nbsp; I am using HDP 3.1.0.0-78. Here is what I have done:&lt;/P&gt;&lt;P&gt;Step 1:&amp;nbsp; Went to 'Yarn -&amp;gt; Configs -&amp;gt; Advanced -&amp;gt; Scheduler' and set the properties that you have given.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Step 2: Restarted all the affected components in Yarn. However, I am getting an error&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;java.io.IOException: Failed to initialize FairScheduler&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Caused by: org.xml.sax.SAXParseException; lineNumber: 19; columnNumber: 1; XML document structures must start and end within the same entity.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, in "Scheduler" component in Yarn, I am only getting "Capacity Scheduler" related parameters. If I add "fair-scheduler.xml" in the same folder as that of "yarn-site.xml" and specify parameters only for "default" queue (Here I am not adding any new queue) only to change its scheduling mode to Fair, how to do it?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please guide me?&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2019 06:31:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-there-any-UI-for-fair-scheduler-of-yarn/m-p/285539#M14772</guid>
      <dc:creator>ssk26</dc:creator>
      <dc:date>2019-12-13T06:31:56Z</dc:date>
    </item>
  </channel>
</rss>

