You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Bibin A Chundatt (JIRA)" <ji...@apache.org> on 2016/04/06 04:08:25 UTC
[jira] [Created] (YARN-4925) ContainerRequest in AMRMClient,
application should be able to specify nodes/racks together with
nodeLabelExpression
Bibin A Chundatt created YARN-4925:
--------------------------------------
Summary: ContainerRequest in AMRMClient, application should be able to specify nodes/racks together with nodeLabelExpression
Key: YARN-4925
URL: https://issues.apache.org/jira/browse/YARN-4925
Project: Hadoop YARN
Issue Type: Bug
Reporter: Bibin A Chundatt
Assignee: Bibin A Chundatt
Currently with nodelabel AMRMClient will not be able to specify nodelabels with Node/Rack requests.For application like spark NODE_LOCAL requests cannot be asked with label expression.
{noformat}
// Don't allow specify node label against ANY request
if ((containerRequest.getRacks() != null &&
(!containerRequest.getRacks().isEmpty()))
||
(containerRequest.getNodes() != null &&
(!containerRequest.getNodes().isEmpty()))) {
throw new InvalidContainerRequestException(
"Cannot specify node label with rack and node");
}
{noformat}
{{AppSchedulingInfo#updateResourceRequests}} we do reset of labels to that of OFF-SWITCH.
The above check is not required for ContainerRequest ask /cc [~wangda] thank you for confirming
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)