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 "Arun Suresh (JIRA)" <ji...@apache.org> on 2016/06/11 00:40:20 UTC
[jira] [Created] (YARN-5238) Handle enforceExecutionType == false
in AMRMClient
Arun Suresh created YARN-5238:
---------------------------------
Summary: Handle enforceExecutionType == false in AMRMClient
Key: YARN-5238
URL: https://issues.apache.org/jira/browse/YARN-5238
Project: Hadoop YARN
Issue Type: Sub-task
Reporter: Arun Suresh
Assignee: Arun Suresh
Currently only *enforceExecutionType == true* is supported. To support *false*, The {{RemoteRequestTable#addResourceRequest}} used by the AMRMClientImpl should be modified to something like :
{noformat}
if (!execTypeReq.getEnforceExecutionType()) {
put(priority, resourceName,
execTypeReq.getExecutionType(), capability, resourceRequestInfo);
} else {
for (ExecutionType eType : ExecutionType.values()) {
put(priority, resourceName, eType,
capability, resourceRequestInfo);
}
}
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org