Reply
Highlighted
New Contributor
Posts: 2
Registered: ‎01-29-2019

Api to fetch logs of killed yarn applications

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.

Announcements