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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to