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] [Commented] (YARN-5587) Add support for resource profiles
Date Tue, 25 Oct 2016 23:11:58 GMT

    [ https://issues.apache.org/jira/browse/YARN-5587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15606760#comment-15606760

Arun Suresh commented on YARN-5587:

Hmmm... Actually, I think we have to deal with one other issue in the {{AMRMClient}}:
Once a Container is returned by the RM, the AMRMClient uses the {{getMatchingRequests()}}
api to retrieve matching ContainerRequests and remove it.

This implies that we need to have an equivalence relationship from a *Resource* to a *ProfileCapability*,
else the matching won't work. Thus I think we might have to normalize all "named" ProfileCapabilities
to a either a Resource or a NONE ProfileCapability (with the override being the complete resource)

Either that, or we have to ensure that these new requests are tagged with unique 'allocationRequestIds',
for which we already have a separate {{getMatchingRequests}} that matches ContainerRequests
to Containers only based on the allocationRequestId.

> Add support for resource profiles
> ---------------------------------
>                 Key: YARN-5587
>                 URL: https://issues.apache.org/jira/browse/YARN-5587
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: nodemanager, resourcemanager
>            Reporter: Varun Vasudev
>            Assignee: Varun Vasudev
>         Attachments: YARN-5587-YARN-3926.001.patch, YARN-5587-YARN-3926.002.patch, YARN-5587-YARN-3926.003.patch,
YARN-5587-YARN-3926.004.patch, YARN-5587-YARN-3926.005.patch
> Add support for resource profiles on the RM side to allow users to use shorthands to
specify resource requirements.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org

View raw message