<?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 Switching from Capacity Scheduler to Fair Scheduler on HDP 3.0.1 in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Switching-from-Capacity-Scheduler-to-Fair-Scheduler-on-HDP-3/m-p/286772#M212641</link>
    <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;I am trying to use FairScheduler in &lt;STRONG&gt;HDP 3.0.1&lt;/STRONG&gt;. As per&amp;nbsp;&lt;A href="https://stackoverflow.com/questions/38208845/switching-from-capacity-scheduler-to-fair-scheduler-on-hortonworks-data-platform" target="_blank"&gt;https://stackoverflow.com/questions/38208845/switching-from-capacity-scheduler-to-fair-scheduler-on-hortonworks-data-platform&lt;/A&gt; it seems to be possible in &lt;STRONG&gt;HDP 3.0&lt;/STRONG&gt;. I have changed the schedule claa and set&amp;nbsp;&lt;STRONG&gt;yarn.scheduler.fair.allocation.file&lt;/STRONG&gt;&amp;nbsp;in custom yarn-site in ambari (screenshot attached). But when I restart ResourceManager it is failing with below error.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;2020-01-02 16:21:54,134 INFO fair.AllocationFileLoaderService (AllocationFileLoaderService.java:reloadAllocations(230)) - Loading allocation file file:/etc/hadoop/conf/fair-scheduler.xml
2020-01-02 16:21:54,221 INFO monitor.SchedulingMonitor (SchedulingMonitor.java:serviceInit(60)) - Initializing SchedulingMonitor=SchedulingMonitor (ProportionalCapacityPreemptionPolicy)
2020-01-02 16:21:54,221 INFO capacity.ProportionalCapacityPreemptionPolicy (ProportionalCapacityPreemptionPolicy.java:init(160)) - Preemption monitor:org.apache.hadoop.yarn.server.resourcemanager.monitor.capacity.ProportionalCapacityPreemptionPolicy
2020-01-02 16:21:54,222 INFO service.AbstractService (AbstractService.java:noteFailure(267)) - Service SchedulingMonitor (ProportionalCapacityPreemptionPolicy) failed in state INITED
org.apache.hadoop.yarn.exceptions.YarnRuntimeException: Class org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FairScheduler not instance of org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler
at org.apache.hadoop.yarn.server.resourcemanager.monitor.capacity.ProportionalCapacityPreemptionPolicy.init(ProportionalCapacityPreemptionPolicy.java:165)
at org.apache.hadoop.yarn.server.resourcemanager.monitor.SchedulingMonitor.serviceInit(SchedulingMonitor.java:61)
at org.apache.hadoop.service.AbstractService.init(AbstractService.java:164)
at org.apache.hadoop.yarn.server.resourcemanager.monitor.SchedulingMonitorManager.updateSchedulingMonitors(SchedulingMonitorManager.java:93)
at org.apache.hadoop.yarn.server.resourcemanager.monitor.SchedulingMonitorManager.initialize(SchedulingMonitorManager.java:123)
at org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FairScheduler.serviceInit(FairScheduler.java:1422)
at org.apache.hadoop.service.AbstractService.init(AbstractService.java:164)
at org.apache.hadoop.service.CompositeService.serviceInit(CompositeService.java:108)
at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager$RMActiveServices.serviceInit(ResourceManager.java:817)
at org.apache.hadoop.service.AbstractService.init(AbstractService.java:164)
at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.createAndInitActiveServices(ResourceManager.java:1230)
at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.serviceInit(ResourceManager.java:317)
at org.apache.hadoop.service.AbstractService.init(AbstractService.java:164)
at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.main(ResourceManager.java:1512)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/25922iE74914B5B036B4CE/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Any help on this issue.&lt;/P&gt;</description>
    <pubDate>Thu, 02 Jan 2020 16:54:33 GMT</pubDate>
    <dc:creator>shyamshaw</dc:creator>
    <dc:date>2020-01-02T16:54:33Z</dc:date>
    <item>
      <title>Switching from Capacity Scheduler to Fair Scheduler on HDP 3.0.1</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Switching-from-Capacity-Scheduler-to-Fair-Scheduler-on-HDP-3/m-p/286772#M212641</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;I am trying to use FairScheduler in &lt;STRONG&gt;HDP 3.0.1&lt;/STRONG&gt;. As per&amp;nbsp;&lt;A href="https://stackoverflow.com/questions/38208845/switching-from-capacity-scheduler-to-fair-scheduler-on-hortonworks-data-platform" target="_blank"&gt;https://stackoverflow.com/questions/38208845/switching-from-capacity-scheduler-to-fair-scheduler-on-hortonworks-data-platform&lt;/A&gt; it seems to be possible in &lt;STRONG&gt;HDP 3.0&lt;/STRONG&gt;. I have changed the schedule claa and set&amp;nbsp;&lt;STRONG&gt;yarn.scheduler.fair.allocation.file&lt;/STRONG&gt;&amp;nbsp;in custom yarn-site in ambari (screenshot attached). But when I restart ResourceManager it is failing with below error.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;2020-01-02 16:21:54,134 INFO fair.AllocationFileLoaderService (AllocationFileLoaderService.java:reloadAllocations(230)) - Loading allocation file file:/etc/hadoop/conf/fair-scheduler.xml
2020-01-02 16:21:54,221 INFO monitor.SchedulingMonitor (SchedulingMonitor.java:serviceInit(60)) - Initializing SchedulingMonitor=SchedulingMonitor (ProportionalCapacityPreemptionPolicy)
2020-01-02 16:21:54,221 INFO capacity.ProportionalCapacityPreemptionPolicy (ProportionalCapacityPreemptionPolicy.java:init(160)) - Preemption monitor:org.apache.hadoop.yarn.server.resourcemanager.monitor.capacity.ProportionalCapacityPreemptionPolicy
2020-01-02 16:21:54,222 INFO service.AbstractService (AbstractService.java:noteFailure(267)) - Service SchedulingMonitor (ProportionalCapacityPreemptionPolicy) failed in state INITED
org.apache.hadoop.yarn.exceptions.YarnRuntimeException: Class org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FairScheduler not instance of org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler
at org.apache.hadoop.yarn.server.resourcemanager.monitor.capacity.ProportionalCapacityPreemptionPolicy.init(ProportionalCapacityPreemptionPolicy.java:165)
at org.apache.hadoop.yarn.server.resourcemanager.monitor.SchedulingMonitor.serviceInit(SchedulingMonitor.java:61)
at org.apache.hadoop.service.AbstractService.init(AbstractService.java:164)
at org.apache.hadoop.yarn.server.resourcemanager.monitor.SchedulingMonitorManager.updateSchedulingMonitors(SchedulingMonitorManager.java:93)
at org.apache.hadoop.yarn.server.resourcemanager.monitor.SchedulingMonitorManager.initialize(SchedulingMonitorManager.java:123)
at org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FairScheduler.serviceInit(FairScheduler.java:1422)
at org.apache.hadoop.service.AbstractService.init(AbstractService.java:164)
at org.apache.hadoop.service.CompositeService.serviceInit(CompositeService.java:108)
at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager$RMActiveServices.serviceInit(ResourceManager.java:817)
at org.apache.hadoop.service.AbstractService.init(AbstractService.java:164)
at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.createAndInitActiveServices(ResourceManager.java:1230)
at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.serviceInit(ResourceManager.java:317)
at org.apache.hadoop.service.AbstractService.init(AbstractService.java:164)
at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.main(ResourceManager.java:1512)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/25922iE74914B5B036B4CE/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Any help on this issue.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2020 16:54:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Switching-from-Capacity-Scheduler-to-Fair-Scheduler-on-HDP-3/m-p/286772#M212641</guid>
      <dc:creator>shyamshaw</dc:creator>
      <dc:date>2020-01-02T16:54:33Z</dc:date>
    </item>
    <item>
      <title>Re: Switching from Capacity Scheduler to Fair Scheduler on HDP 3.0.1</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Switching-from-Capacity-Scheduler-to-Fair-Scheduler-on-HDP-3/m-p/286778#M212647</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/63966"&gt;@shyamshaw&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am already answering a similar question see this thread&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/t5/Support-Questions/Unable-to-start-Node-Manager/td-p/285976" target="_blank"&gt;https://community.cloudera.com/t5/Support-Questions/Unable-to-start-Node-Manager/td-p/285976&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Please go through the thread and update me with what isn't working, I will answer to both threads soon&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jan 2020 19:54:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Switching-from-Capacity-Scheduler-to-Fair-Scheduler-on-HDP-3/m-p/286778#M212647</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2020-01-02T19:54:22Z</dc:date>
    </item>
    <item>
      <title>Re: Switching from Capacity Scheduler to Fair Scheduler on HDP 3.0.1</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Switching-from-Capacity-Scheduler-to-Fair-Scheduler-on-HDP-3/m-p/286786#M212655</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/20288"&gt;@Shelton&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the update. It seems there are some configuration needs to be added/changed in YARN. I will perform the changes and update you in case of any failures.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jan 2020 05:30:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Switching-from-Capacity-Scheduler-to-Fair-Scheduler-on-HDP-3/m-p/286786#M212655</guid>
      <dc:creator>shyamshaw</dc:creator>
      <dc:date>2020-01-03T05:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: Switching from Capacity Scheduler to Fair Scheduler on HDP 3.0.1</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Switching-from-Capacity-Scheduler-to-Fair-Scheduler-on-HDP-3/m-p/286990#M212794</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/20288"&gt;@Shelton&lt;/a&gt;&amp;nbsp;Sorry for late response. I followed the thread and was able to configure Fair Scheduler successfully.&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2020 07:03:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Switching-from-Capacity-Scheduler-to-Fair-Scheduler-on-HDP-3/m-p/286990#M212794</guid>
      <dc:creator>shyamshaw</dc:creator>
      <dc:date>2020-01-07T07:03:25Z</dc:date>
    </item>
  </channel>
</rss>

