Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Timeline Server doesn't store container finished container information

avatar
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

avatar

@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.

View solution in original post

2 REPLIES 2

avatar

@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.

avatar
Expert Contributor

Thank you, it works perfectly