Support Questions
Find answers, ask questions, and share your expertise
Announcements
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

Highlighted

Api to fetch logs of killed yarn applications

New Contributor

Hi 

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.