hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bikas Saha (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-660) Improve AMRMClient with matching requests
Date Fri, 24 May 2013 01:18:21 GMT

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

Bikas Saha commented on YARN-660:

New patch removes cookies from the code. Title updated to reflect that.

Additionally, it fixes synchronization issue in AMRMClientAsync. TestAMRMClientAsync verifies

The other main change is to AMRMClient.getMatchingContainers(). The old impl was incorrectly
assuming that the RM will return containers with exact resource matching. However, the RM
can return containers that are larger (because of normalization etc). Container may be larger
by memory or cpu (e.g. container (1000M, 3cpu) can fit request (1000M, 1cpu) or request (500M,
3cpu). Only the user can decide which one matches better. Thus requests for different resource
capabilities must be returned to the user.

Tests improved to show lifecycle of using storedcontainerrequests per previous comment. Tests
added to verify new matching functionality.
> Improve AMRMClient with matching requests
> -----------------------------------------
>                 Key: YARN-660
>                 URL: https://issues.apache.org/jira/browse/YARN-660
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>    Affects Versions: 2.0.5-beta
>            Reporter: Bikas Saha
>            Assignee: Bikas Saha
>             Fix For: 2.0.5-beta
>         Attachments: YARN-660.1.patch, YARN-660.2.patch, YARN-660.3.patch, YARN-660.4.patch,

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message