hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arun Suresh (JIRA)" <j...@apache.org>
Subject [jira] [Created] (YARN-5238) Handle enforceExecutionType == false in AMRMClient
Date Sat, 11 Jun 2016 00:40:20 GMT
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


Mime
View raw message