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 "Bikas Saha (JIRA)" <ji...@apache.org> on 2013/05/24 03:18:21 UTC

[jira] [Commented] (YARN-660) Improve AMRMClient with matching requests

    [ 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 fix.

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, YARN-660.5.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