<?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: Can not start resource manager with Fair Scheduler in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Can-not-start-resource-manager-with-Fair-Scheduler/m-p/351767#M236366</link>
    <description>&lt;P&gt;thanks Chethan.&lt;/P&gt;&lt;P&gt;The solution here&amp;nbsp;&lt;A href="https://community.cloudera.com/t5/Support-Questions/Invalid-resource-request-requested-resource-type-yarn-io-gpu/m-p/243629#M205427" target="_blank"&gt;https://community.cloudera.com/t5/Support-Questions/Invalid-resource-request-requested-resource-type-yarn-io-gpu/m-p/243629#M205427&lt;/A&gt;&amp;nbsp;is apparently no longer valid.&lt;/P&gt;&lt;P&gt;I switched back to the Capacity scheduler, increased yarn.nodemanager.resource.memory-mb and everything seems to be OK now&lt;/P&gt;</description>
    <pubDate>Thu, 08 Sep 2022 11:56:03 GMT</pubDate>
    <dc:creator>gocham</dc:creator>
    <dc:date>2022-09-08T11:56:03Z</dc:date>
    <item>
      <title>Can not start resource manager with Fair Scheduler</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Can-not-start-resource-manager-with-Fair-Scheduler/m-p/351468#M236270</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;when I switched to Fair scheduler however I still can't start the Resource Manager.&lt;/P&gt;&lt;P&gt;I'm using CDP 7.4.4&lt;/P&gt;&lt;P&gt;Following steps listed here&amp;nbsp; &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" rel="noopener"&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;I made the following changes via UI and verified the deployed files&lt;/P&gt;&lt;P&gt;In yarn_site.xml&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gocham_0-1662288257126.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/35448i365F42E5C58BC2BF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="gocham_0-1662288257126.png" alt="gocham_0-1662288257126.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can see from the resource manager that fair scheduler is loaded&lt;/P&gt;&lt;P&gt;2022-09-04 10:39:43,377 INFO org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.AllocationFileLoaderService: Loading allocation file &lt;A target="_blank" rel="noopener"&gt;file:/run/cloudera-scm-agent/process/1546336134-yarn-RESOURCEMANAGER/fair-scheduler.xml&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[root@10-222-53-95 1546336089-yarn-RESOURCEMANAGER]# cat /run/cloudera-scm-agent/process/1546336134-yarn-RESOURCEMANAGER/fair-scheduler.xml&lt;BR /&gt;&amp;lt;?xml version="1.0"?&amp;gt;&lt;BR /&gt;&amp;lt;allocations&amp;gt;&lt;BR /&gt;&amp;lt;queue name="sample_queue"&amp;gt;&lt;BR /&gt;&amp;lt;minResources&amp;gt;10000 mb,0vcores&amp;lt;/minResources&amp;gt;&lt;BR /&gt;&amp;lt;maxResources&amp;gt;90000 mb,0vcores&amp;lt;/maxResources&amp;gt;&lt;BR /&gt;&amp;lt;maxRunningApps&amp;gt;50&amp;lt;/maxRunningApps&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;weight&amp;gt;2.0&amp;lt;/weight&amp;gt;&lt;BR /&gt;&amp;lt;schedulingPolicy&amp;gt;fair&amp;lt;/schedulingPolicy&amp;gt;&lt;BR /&gt;&amp;lt;queue name="sample_sub_queue"&amp;gt;&lt;BR /&gt;&amp;lt;aclSubmitApps&amp;gt;charlie&amp;lt;/aclSubmitApps&amp;gt;&lt;BR /&gt;&amp;lt;minResources&amp;gt;5000 mb,0vcores&amp;lt;/minResources&amp;gt;&lt;BR /&gt;&amp;lt;/queue&amp;gt;&lt;BR /&gt;&amp;lt;queue name="sample_reversable_queue"&amp;gt;&lt;BR /&gt;&amp;lt;resevravation&amp;gt;&amp;lt;/resevravation&amp;gt;&lt;BR /&gt;&amp;lt;/queue&amp;gt;&lt;BR /&gt;&amp;lt;/queue&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;queueMaxAMShareDefault&amp;gt;0.5&amp;lt;/queueMaxAMShareDefault&amp;gt;&lt;BR /&gt;&amp;lt;queueMaxResourcesDefault&amp;gt;5000 mb,0vcores&amp;lt;/queueMaxResourcesDefault&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;!-- Queue 'secondary_group_queue' is a parent queue and may have&lt;BR /&gt;user queues under it --&amp;gt;&lt;BR /&gt;&amp;lt;queue name="secondary_group_queue" type="parent"&amp;gt;&lt;BR /&gt;&amp;lt;weight&amp;gt;3.0&amp;lt;/weight&amp;gt;&lt;BR /&gt;&amp;lt;maxChildResources&amp;gt;4096 mb,4vcores&amp;lt;/maxChildResources&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/queue&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;user name="sample_user"&amp;gt;&lt;BR /&gt;&amp;lt;maxRunningApps&amp;gt;30&amp;lt;/maxRunningApps&amp;gt;&lt;BR /&gt;&amp;lt;/user&amp;gt;&lt;BR /&gt;&amp;lt;userMaxAppsDefault&amp;gt;5&amp;lt;/userMaxAppsDefault&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;queuePlacementPolicy&amp;gt;&lt;BR /&gt;&amp;lt;rule name="specified" /&amp;gt;&lt;BR /&gt;&amp;lt;rule name="primaryGroup" create="false" /&amp;gt;&lt;BR /&gt;&amp;lt;rule name="nestedUserQueue"&amp;gt;&lt;BR /&gt;&amp;lt;rule name="secondaryGroupExistingQueue" create="false" /&amp;gt;&lt;BR /&gt;&amp;lt;/rule&amp;gt;&lt;BR /&gt;&amp;lt;rule name="default" queue="sample_queue"/&amp;gt;&lt;BR /&gt;&amp;lt;/queuePlacementPolicy&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2022-09-04 10:39:43,583 INFO org.apache.zookeeper.ClientCnxn: EventThread shut down for session: 0x1000fdc05e46ceb&lt;BR /&gt;2022-09-04 10:39:43,583 INFO org.apache.hadoop.service.AbstractService: Service ResourceManager failed in state INITED&lt;BR /&gt;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&lt;BR /&gt;at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.AutoCreatedQueueDeletionPolicy.init(AutoCreatedQueueDeletionPolicy.java:69)&lt;BR /&gt;at org.apache.hadoop.yarn.server.resourcemanager.monitor.SchedulingMonitor.serviceInit(SchedulingMonitor.java:61)&lt;BR /&gt;at org.apache.hadoop.service.AbstractService.init(AbstractService.java:164)&lt;BR /&gt;at org.apache.hadoop.yarn.server.resourcemanager.monitor.SchedulingMonitorManager.updateSchedulingMonitors(SchedulingMonitorManager.java:93)&lt;BR /&gt;at org.apache.hadoop.yarn.server.resourcemanager.monitor.SchedulingMonitorManager.initialize(SchedulingMonitorManager.java:123)&lt;BR /&gt;at org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FairScheduler.serviceInit(FairScheduler.java:1517)&lt;BR /&gt;at org.apache.hadoop.service.AbstractService.init(AbstractService.java:164)&lt;BR /&gt;at org.apache.hadoop.service.CompositeService.serviceInit(CompositeService.java:108)&lt;BR /&gt;at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager$RMActiveServices.serviceInit(ResourceManager.java:853)&lt;BR /&gt;at org.apache.hadoop.service.AbstractService.init(AbstractService.java:164)&lt;BR /&gt;at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.createAndInitActiveServices(ResourceManager.java:1271)&lt;BR /&gt;at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.serviceInit(ResourceManager.java:328)&lt;BR /&gt;at org.apache.hadoop.service.AbstractService.init(AbstractService.java:164)&lt;BR /&gt;at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.main(ResourceManager.java:1558)&lt;BR /&gt;2022-09-04 10:39:43,584 INFO org.apache.hadoop.yarn.server.resourcemanager.ResourceManager: Transitioning to standby state&lt;BR /&gt;2022-09-04 10:39:43,584 INFO org.apache.hadoop.yarn.server.resourcemanager.ResourceManager: Transitioned to standby state&lt;BR /&gt;2022-09-04 10:39:43,584 FATAL org.apache.hadoop.yarn.server.resourcemanager.ResourceManager: Error starting ResourceManager&lt;BR /&gt;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&lt;BR /&gt;at org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.AutoCreatedQueueDeletionPolicy.init(AutoCreatedQueueDeletionPolicy.java:69)&lt;BR /&gt;at org.apache.hadoop.yarn.server.resourcemanager.monitor.SchedulingMonitor.serviceInit(SchedulingMonitor.java:61)&lt;BR /&gt;at org.apache.hadoop.service.AbstractService.init(AbstractService.java:164)&lt;BR /&gt;at org.apache.hadoop.yarn.server.resourcemanager.monitor.SchedulingMonitorManager.updateSchedulingMonitors(SchedulingMonitorManager.java:93)&lt;BR /&gt;at org.apache.hadoop.yarn.server.resourcemanager.monitor.SchedulingMonitorManager.initialize(SchedulingMonitorManager.java:123)&lt;BR /&gt;at org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FairScheduler.serviceInit(FairScheduler.java:1517)&lt;BR /&gt;at org.apache.hadoop.service.AbstractService.init(AbstractService.java:164)&lt;BR /&gt;at org.apache.hadoop.service.CompositeService.serviceInit(CompositeService.java:108)&lt;BR /&gt;at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager$RMActiveServices.serviceInit(ResourceManager.java:853)&lt;BR /&gt;at org.apache.hadoop.service.AbstractService.init(AbstractService.java:164)&lt;BR /&gt;at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.createAndInitActiveServices(ResourceManager.java:1271)&lt;BR /&gt;at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.serviceInit(ResourceManager.java:328)&lt;BR /&gt;at org.apache.hadoop.service.AbstractService.init(AbstractService.java:164)&lt;BR /&gt;at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.main(ResourceManager.java:1558)&lt;BR /&gt;2022-09-04 10:39:43,585 INFO org.apache.ranger.audit.provider.AuditProviderFactory: ==&amp;gt; JVMShutdownHook.run()&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 07:50:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Can-not-start-resource-manager-with-Fair-Scheduler/m-p/351468#M236270</guid>
      <dc:creator>gocham</dc:creator>
      <dc:date>2026-04-21T07:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: Can not start resource manager with Fair Scheduler</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Can-not-start-resource-manager-with-Fair-Scheduler/m-p/351740#M236356</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/99724"&gt;@gocham&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In CDP 7.1.7 Capacity Scheduler is alone supported and Fair Scheduler is not supported,&amp;nbsp;Capacity Scheduler is the default and only supported scheduler. You must transition from Fair Scheduler to Capacity Scheduler when upgrading your cluster to CDP Private Cloud Base.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This is the related Jira from Cloudera -&amp;nbsp;CLR-106983&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Note: If i answered&amp;nbsp;your question please give a thumbs up and accept it as a solution.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Chethan YM&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Sep 2022 06:08:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Can-not-start-resource-manager-with-Fair-Scheduler/m-p/351740#M236356</guid>
      <dc:creator>ChethanYM</dc:creator>
      <dc:date>2022-09-08T06:08:12Z</dc:date>
    </item>
    <item>
      <title>Re: Can not start resource manager with Fair Scheduler</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Can-not-start-resource-manager-with-Fair-Scheduler/m-p/351767#M236366</link>
      <description>&lt;P&gt;thanks Chethan.&lt;/P&gt;&lt;P&gt;The solution here&amp;nbsp;&lt;A href="https://community.cloudera.com/t5/Support-Questions/Invalid-resource-request-requested-resource-type-yarn-io-gpu/m-p/243629#M205427" target="_blank"&gt;https://community.cloudera.com/t5/Support-Questions/Invalid-resource-request-requested-resource-type-yarn-io-gpu/m-p/243629#M205427&lt;/A&gt;&amp;nbsp;is apparently no longer valid.&lt;/P&gt;&lt;P&gt;I switched back to the Capacity scheduler, increased yarn.nodemanager.resource.memory-mb and everything seems to be OK now&lt;/P&gt;</description>
      <pubDate>Thu, 08 Sep 2022 11:56:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Can-not-start-resource-manager-with-Fair-Scheduler/m-p/351767#M236366</guid>
      <dc:creator>gocham</dc:creator>
      <dc:date>2022-09-08T11:56:03Z</dc:date>
    </item>
  </channel>
</rss>

