hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-2195) Clean a piece of code in ResourceRequest
Date Wed, 25 Jun 2014 16:18:27 GMT

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

Hudson commented on YARN-2195:
------------------------------

FAILURE: Integrated in Hadoop-Mapreduce-trunk #1812 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1812/])
YARN-2195. Clean a piece of code in ResourceRequest. Contributed by Wei Yan. (devaraj: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1605083)
* /hadoop/common/trunk/hadoop-yarn-project/CHANGES.txt
* /hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/java/org/apache/hadoop/yarn/api/records/ResourceRequest.java


> 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
>             Fix For: 2.5.0
>
>         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