Zhijie Shen created YARN-1513:
---------------------------------

             Summary: One message is misleading in LogsCLI
                 Key: YARN-1513
                 URL: https://issues.apache.org/jira/browse/YARN-1513
             Project: Hadoop YARN
          Issue Type: Bug
            Reporter: Zhijie Shen
            Priority: Minor


In LogsCLI,
{code}
    } else if ((containerIdStr == null && nodeAddress != null)
        || (containerIdStr != null && nodeAddress == null)) {
      System.out.println("ContainerId or NodeAddress cannot be null!");
{code}

If users set either ContainerId or NodeAddress, but not both, they will get 
this message. However, it may confuse the users, because the sentence sounds 
that it's OK if one of the two params is not null.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Reply via email to