Details
-
Bug
-
Status: Resolved
-
Trivial
-
Resolution: Fixed
-
None
-
None
-
None
-
Reviewed
Description
RMAdminCLI.java
int nLabels = map.get(nodeId).size(); Preconditions.checkArgument(nLabels <= 1, "%d labels specified on host=%s" + ", please note that we do not support specifying multiple" + " labels on a single host for now.", nLabels, nodeIdStr);
The %d should be replaced with %s, per
https://google.github.io/guava/releases/19.0/api/docs/com/google/common/base/Preconditions.html