[
https://issues.apache.org/jira/browse/YARN-1513?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
haosdent updated YARN-1513:
---------------------------
Attachment: YARN-1513.patch
> One message is misleading in LogsCLI
> ------------------------------------
>
> Key: YARN-1513
> URL: https://issues.apache.org/jira/browse/YARN-1513
> Project: Hadoop YARN
> Issue Type: Bug
> Affects Versions: 2.2.0
> Reporter: Zhijie Shen
> Assignee: haosdent
> Priority: Minor
> Fix For: 2.2.1
>
> Attachments: YARN-1513.patch
>
>
> 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.5#6160)