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 "Xuan Gong (JIRA)" <ji...@apache.org> on 2016/06/09 20:35:21 UTC

[jira] [Commented] (YARN-5226) remove AHS enable check from LogsCLI#fetchAMContainerLogs

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

Xuan Gong commented on YARN-5226:
---------------------------------

The main purpose of the check is to make sure that we could get the nodeId for the AM Container, and to use the node id as well as container id to get logs from HDFS. Right now, we do not need to do this, we could use printContainerLogsForFinishedApplicationWithoutNodeId to get container logs without nodeId.

Apply a simple fix without testcase needed

> remove AHS enable check from LogsCLI#fetchAMContainerLogs
> ---------------------------------------------------------
>
>                 Key: YARN-5226
>                 URL: https://issues.apache.org/jira/browse/YARN-5226
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Xuan Gong
>            Assignee: Xuan Gong
>         Attachments: YARN-5226.1.patch
>
>




--
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