[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to