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 "Gergely Novák (JIRA)" <ji...@apache.org> on 2016/06/25 00:13:16 UTC

[jira] [Comment Edited] (YARN-5227) yarn logs command: no need to specify -applicationId when specifying containerId

    [ https://issues.apache.org/jira/browse/YARN-5227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15348929#comment-15348929 ] 

Gergely Novák edited comment on YARN-5227 at 6/25/16 12:12 AM:
---------------------------------------------------------------

We fail if neither of them is specified ({{appIdStr == null && containerIdStr == null}}). Do you mean that the error message should be changed to something like "ApplicationId is optional only if the containerId is specified."


was (Author: gergelynovak):
We fail if neither of them is specified ({{appIdStr == null && containerIdStr == null}}). 

> yarn logs command: no need to specify -applicationId when specifying containerId
> --------------------------------------------------------------------------------
>
>                 Key: YARN-5227
>                 URL: https://issues.apache.org/jira/browse/YARN-5227
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Jian He
>            Assignee: Gergely Novák
>         Attachments: YARN-5227.001.patch
>
>
> No need to specify -applicaionId when specifying containerId, because applicationId is retrievable from containerId



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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