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 "Subru Krishnan (JIRA)" <ji...@apache.org> on 2016/03/17 21:25:33 UTC

[jira] [Updated] (YARN-4825) Remove redundant code in ClientRMService::listReservations

     [ https://issues.apache.org/jira/browse/YARN-4825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Subru Krishnan updated YARN-4825:
---------------------------------
    Attachment: YARN-4825-v1.patch

Attaching a patch that removes redundant code.

Note: the patch does NOT have any test case modifications as it only removes duplicate code

> Remove redundant code in ClientRMService::listReservations
> ----------------------------------------------------------
>
>                 Key: YARN-4825
>                 URL: https://issues.apache.org/jira/browse/YARN-4825
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: capacityscheduler, fairscheduler, resourcemanager
>            Reporter: Subru Krishnan
>            Assignee: Subru Krishnan
>            Priority: Minor
>         Attachments: YARN-4825-v1.patch
>
>
> We do the null check and parsing of ReservationId twice currently in ClientRMService::listReservations. This happened due to parallel changes as part of YARN-4340 and YARN-2575. This JIRA proposes cleaning up the redundant code



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)