hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yongjun Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Created] (YARN-6073) Misuse of format specifier in Preconditions.checkArgument
Date Mon, 09 Jan 2017 00:59:59 GMT
Yongjun Zhang created YARN-6073:

             Summary: Misuse of format specifier in Preconditions.checkArgument
                 Key: YARN-6073
                 URL: https://issues.apache.org/jira/browse/YARN-6073
             Project: Hadoop YARN
          Issue Type: Bug
            Reporter: Yongjun Zhang
            Priority: Trivial


 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


This message was sent by Atlassian JIRA

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

View raw message