Sumana Sathish created YARN-5084:
------------------------------------

             Summary: 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
          Components: yarn
            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: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to