You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Wei Yan (JIRA)" <ji...@apache.org> on 2014/06/23 22:44:25 UTC
[jira] [Created] (YARN-2195) Clean a piece of code in
ResourceRequest
Wei Yan created YARN-2195:
-----------------------------
Summary: 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
{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)