hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Devaraj K (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-2195) Clean a piece of code in ResourceRequest
Date Tue, 24 Jun 2014 13:40:25 GMT

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

Devaraj K updated YARN-2195:
----------------------------

    Hadoop Flags: Reviewed

Good catch [~ywskycn].

+1, patch looks good to me. Will commit this.


> Clean a piece of code in ResourceRequest
> ----------------------------------------
>
>                 Key: YARN-2195
>                 URL: https://issues.apache.org/jira/browse/YARN-2195
>             Project: Hadoop YARN
>          Issue Type: Improvement
>            Reporter: Wei Yan
>            Assignee: Wei Yan
>            Priority: Minor
>         Attachments: YARN-2195.patch
>
>
> {code}
> if (numContainersComparison == 0) {
>   return 0;
> } else {
>   return numContainersComparison;
> }
> {code}
> This code should be cleaned as 
> {code}
> return numContainersComparison;
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message