[ 
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)

Reply via email to