hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From templ...@apache.org
Subject hadoop git commit: YARN-6073. Misuse of format specifier in Preconditions.checkArgument (Contributed by Yuanbo Liu via Daniel Templeton)
Date Tue, 10 Jan 2017 06:15:07 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2 b60057709 -> 74bf9c6e4


YARN-6073. Misuse of format specifier in Preconditions.checkArgument (Contributed by Yuanbo
Liu via Daniel Templeton)

(cherry picked from commit 6332a318bc1e2e9d73d7159eab26347bb3f1f9b3)


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/74bf9c6e
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/74bf9c6e
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/74bf9c6e

Branch: refs/heads/branch-2
Commit: 74bf9c6e4b982cecbd3aa0d345c2c2144f4c6f0e
Parents: b600577
Author: Daniel Templeton <templedf@apache.org>
Authored: Mon Jan 9 22:12:58 2017 -0800
Committer: Daniel Templeton <templedf@apache.org>
Committed: Mon Jan 9 22:14:46 2017 -0800

----------------------------------------------------------------------
 .../main/java/org/apache/hadoop/yarn/client/cli/RMAdminCLI.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/74bf9c6e/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/main/java/org/apache/hadoop/yarn/client/cli/RMAdminCLI.java
----------------------------------------------------------------------
diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/main/java/org/apache/hadoop/yarn/client/cli/RMAdminCLI.java
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/main/java/org/apache/hadoop/yarn/client/cli/RMAdminCLI.java
index 2508c3e..4826013 100644
--- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/main/java/org/apache/hadoop/yarn/client/cli/RMAdminCLI.java
+++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/main/java/org/apache/hadoop/yarn/client/cli/RMAdminCLI.java
@@ -685,7 +685,7 @@ public class RMAdminCLI extends HAAdmin {
       }
       
       int nLabels = map.get(nodeId).size();
-      Preconditions.checkArgument(nLabels <= 1, "%d labels specified on host=%s"
+      Preconditions.checkArgument(nLabels <= 1, "%s labels specified on host=%s"
           + ", please note that we do not support specifying multiple"
           + " labels on a single host for now.", nLabels, nodeIdStr);
     }


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message