Configure the Timeline Server Store
You must configure the Timeline Server store to which the YARN ResourceManager publishes generic application-level data.
-
yarn.timeline-service.store-class – The class name for
the Timeline store.
Example:
<property> <description>Store class name for timeline store</description> <name>yarn.timeline-service.store-class</name> <value>org.apache.hadoop.yarn.server.timeline.LeveldbTimelineStore</value> </property>
-
yarn.timeline-service.leveldb-timeline-store.path – The
store file path and name for the Timeline Server LevelDB store (if the LevelDB store
is used).
Example:
<property> <description>Store file name for leveldb timeline store</description> <name>yarn.timeline-service.leveldb-timeline-store.path</name> <value>${yarn.log.dir}/timeline</value> </property>
-
yarn.timeline-service.ttl-enable – Enable age-off of
timeline store data.
Example:
<property> <description>Enable age off of timeline store data.</description> <name>yarn.timeline-service.ttl-enable</name> <value>true</value> </property>
-
yarn.timeline-service.ttl-ms – The Time-to-live for
timeline store data (in milliseconds).
Example:
<property> <description>Time to live for timeline store data in milliseconds.</description> <name>yarn.timeline-service.ttl-ms</name> <value>604800000</value> </property>