You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Vinod Kumar Vavilapalli (JIRA)" <ji...@apache.org> on 2015/09/28 21:02:05 UTC

[jira] [Updated] (YARN-1513) One message is misleading in LogsCLI

     [ https://issues.apache.org/jira/browse/YARN-1513?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vinod Kumar Vavilapalli updated YARN-1513:
------------------------------------------
    Fix Version/s:     (was: 2.2.1)

Dropping fix-version which should be set at commit-time.

> 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
>         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.3.4#6332)