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.

Timeline Server doesn't store container finished container information

Solved Go to solution
Highlighted

Timeline Server doesn't store container finished container information

Expert Contributor

Hello my Yarn Timeline Server is not storing container information after the container is finished.

Is there any way to enable this?

[bigdata@localhost ]$ yarn container -status container_e23_1472544604028_1380_01_000023
16/09/15 14:51:15 INFO impl.TimelineClientImpl: Timeline service address: http://localhost:8188/ws/v1/timeline/
16/09/15 14:51:16 INFO client.RMProxy: Connecting to ResourceManager at localhost/10.3.237.18:8050
Container with id 'container_e23_1472544604028_1380_01_000023' doesn't exist in RM or Timeline Server.

Thank you in advance.

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Timeline Server doesn't store container finished container information

@Juan Manuel Nieto

From this apache jira - https://issues.apache.org/jira/browse/YARN-3978, we can see that they have configuration option to turn off saving of non-AM container metadata. In order to have non-AM container details, we need to set "yarn.timeline-service.generic-application-history.save-non-am-container-meta-info" and "yarn.timeline-service.generic-application-history.enabled" to TRUE and restart RM and ATS.

2 REPLIES 2

Re: Timeline Server doesn't store container finished container information

@Juan Manuel Nieto

From this apache jira - https://issues.apache.org/jira/browse/YARN-3978, we can see that they have configuration option to turn off saving of non-AM container metadata. In order to have non-AM container details, we need to set "yarn.timeline-service.generic-application-history.save-non-am-container-meta-info" and "yarn.timeline-service.generic-application-history.enabled" to TRUE and restart RM and ATS.

Re: Timeline Server doesn't store container finished container information

Expert Contributor

Thank you, it works perfectly

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