Created on 06-07-2020 10:14 PM - edited 06-07-2020 10:18 PM
Hi All,
I am using plain vanilla hadoop version 2.7.7. I have configured capacity scheduler order policy as "fair" in capacity-scheduler.xml but it is not reflecting in resource manager. Kindly help me in this.
capacity-scheduler.xml:
<configuration>
<property>
<name>yarn.scheduler.capacity.maximum-am-resource-percent</name>
<value>0.2</value>
</property>
<property>
<name>yarn.scheduler.capacity.maximum-applications</name>
<value>10000</value>
</property>
<property>
<name>yarn.scheduler.capacity.node-locality-delay</name>
<value>40</value>
</property>
<property>
<name>yarn.scheduler.capacity.queue-mappings-override.enable</name>
<value>false</value>
</property>
<property>
<name>yarn.scheduler.capacity.resource-calculator</name>
<value>org.apache.hadoop.yarn.util.resource.DefaultResourceCalculator</value>
</property>
<property>
<name>yarn.scheduler.capacity.root.accessible-node-labels</name>
<value>*</value>
</property>
<property>
<name>yarn.scheduler.capacity.root.acl_administer_queue</name>
<value>*</value>
</property>
<property>
<name>yarn.scheduler.capacity.root.capacity</name>
<value>100</value>
</property>
<property>
<name>yarn.scheduler.capacity.root.default.acl_submit_applications</name>
<value>*</value>
</property>
<property>
<name>yarn.scheduler.capacity.root.default.capacity</name>
<value>100</value>
</property>
<property>
<name>yarn.scheduler.capacity.root.default.maximum-capacity</name>
<value>100</value>
</property>
<property>
<name>yarn.scheduler.capacity.root.default.ordering-policy</name>
<value>fair</value>
</property>
<property>
<name>yarn.scheduler.capacity.root.default.ordering-policy.fair.enable-size-based-weight</name>
<value>false</value>
</property>
<property>
<name>yarn.scheduler.capacity.root.default.priority</name>
<value>0</value>
</property>
<property>
<name>yarn.scheduler.capacity.root.default.state</name>
<value>RUNNING</value>
</property>
<property>
<name>yarn.scheduler.capacity.root.default.user-limit-factor</name>
<value>1</value>
</property>
<property>
<name>yarn.scheduler.capacity.root.priority</name>
<value>0</value>
</property>
<property>
<name>yarn.scheduler.capacity.root.queues</name>
<value>default</value>
</property>
</configuration>
@jsensharma @MattWho @nsabharwal @aervits @Shelton Need you expertise here. Pls advise
Regards,
Vignesh
Created 07-14-2020 04:30 AM
Created 07-14-2020 04:49 AM
Thanks for your reply. Yes, still i am facing this issue
Created 07-14-2020 06:48 AM
Did you try to refresh the yarn queue after the configuration.
Created 07-14-2020 06:51 AM
yarn rmadmin -refreshQueues
Try this command line if your are not using ambari. And let me know how this helps..
Try to update this while using yarn user.