[
https://issues.apache.org/jira/browse/SLIDER-612?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sumit Mohanty resolved SLIDER-612.
----------------------------------
Resolution: Not a Problem
Assignee: Sumit Mohanty (was: Steve Loughran)
Yarn need to be configured to enable cpu scheduling.
Modify capacity-scheduler config to modify the resources-calculator.
{noformat}
<property>
<name>yarn.scheduler.capacity.resource-calculator</name>
<value>org.apache.hadoop.yarn.util.resource.DominantResourceCalculator</value>
</property>
{noformat}
> vCore requirement set by Slider is not taking effect in Yarn
> ------------------------------------------------------------
>
> Key: SLIDER-612
> URL: https://issues.apache.org/jira/browse/SLIDER-612
> Project: Slider
> Issue Type: Bug
> Components: appmaster
> Affects Versions: Slider 0.50
> Reporter: Sumit Mohanty
> Assignee: Sumit Mohanty
> Fix For: Slider 0.60
>
>
> Noticed that while Slider AM is sending vCores requirement in the container
> request it does not seem to take effect in RM.
> Slider AM log
> {noformat}
> 2014-11-03 22:31:36,792 [AmExecutor-006] INFO state.AppState - Container ask
> is Capability[<memory:256, vCores:2>]Priority[1073741825] and label = null
> {noformat}
> RM log
> {noformat}
> 2014-11-03 22:31:38,353 INFO capacity.LeafQueue
> (LeafQueue.java:assignContainer(1570)) - assignedContainer application
> attempt=appattempt_1414998517410_0011_000001 container=Container:
> [ContainerId: container_1414998517410_0011_01_000002, NodeId:
> c6403.ambari.apache.org:45454, NodeHttpAddress: c6403.ambari.apache.org:8042,
> Resource: <memory:256, vCores:1>, Priority: 1073741825, Token: null, ]
> queue=default: capacity=1.0, absoluteCapacity=1.0, usedResources=<memory:256,
> vCores:1>, usedCapacity=0.125, absoluteUsedCapacity=0.125, numApps=1,
> numContainers=1 clusterResource=<memory:2048, vCores:8>
> {noformat}
> [[email protected]], can you recommend if its critical for Slider 0.60.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)