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

Vinod Kumar Vavilapalli updated YARN-5084:
------------------------------------------
    Component/s:     (was: yarn)

> Cannot obtain AM container logs for the finished application using YARN CLI
> ---------------------------------------------------------------------------
>
>                 Key: YARN-5084
>                 URL: https://issues.apache.org/jira/browse/YARN-5084
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Sumana Sathish
>            Assignee: Xuan Gong
>            Priority: Critical
>
> YARN log CLI for getting AM container logs for finished application gives the 
> following error
> {code}
> yarn  logs -applicationId application_1463168167998_0001 -am 1
> 16/05/13 19:48:38 INFO impl.TimelineClientImpl: Timeline service address: 
> <ATS>
> 16/05/13 19:48:38 INFO client.RMProxy: Connecting to ResourceManager at <RM>
> Can not get AMContainers logs for the 
> application:application_1463168167998_0001
> This application:application_1463168167998_0001 is finished. Please enable 
> the application history service. Or Using yarn logs -applicationId <appId> 
> -containerId <containerId> --nodeAddress <nodeHttpAddress> to get the 
> container logs
> {code} 



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