Support Questions
Find answers, ask questions, and share your expertise
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Api to fetch logs of killed yarn applications


Api to fetch logs of killed yarn applications

New Contributor


I am woking on feature where a utility is required to fetch the logs of killed yarn applications. So i want to confirm if there are any Apis to fetch logs for individual application containers. 

What i have checked so far is, if timeline server is running then it can be used to fetch the containersInfo and then the conatiner Ids can be passed to History server to fetch the logs for that container. But if timeline server is not running then how can this be done through Apis.

Don't have an account?
Coming from Hortonworks? Activate your account here