Rohith Sharma K S created YARN-4819: ---------------------------------------
Summary: SLS requested containers are never allocated for NODE_LOCAL and RACK_LOCAL tyep Key: YARN-4819 URL: https://issues.apache.org/jira/browse/YARN-4819 Project: Hadoop YARN Issue Type: Bug Components: scheduler-load-simulator Reporter: Rohith Sharma K S Assignee: Rohith Sharma K S SLS requested containers are always assigned in off-switch mode. And scheduler will never allocate any containers for Node-Local and Rack-local mode. The reason for the above behavior is parsing of jobinput file for container host and rack. The input given in job file for rack and node is like below. {code}"container.host" : "/default-rack/node1",{code}. But after parsing , the resource request sent for rack is "default-rack" which misses slash('/'). While container allocation during node heartbeat , node rack name is resolved for rack which is */default-rack* with which look up for resource request for this rack returns null. So, All the requests are assigned to off-switch. -- This message was sent by Atlassian JIRA (v6.3.4#6332)