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 "Zhijie Shen (JIRA)" <ji...@apache.org> on 2013/12/17 19:50:07 UTC
[jira] [Created] (YARN-1513) One message is misleading in LogsCLI
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)