4. Configuring Per-Framework Data Collection

Configuration for Per-framework Data

  • yarn.timeline-service.enabled

    Indicates to clients whether or not the Timeline Server is enabled. If it is enabled, the TimelineClient library used by end-users will post entities and events to the Timeline Server.

    Example:

    <property>
         <description>Enable or disable the Timeline Server.</description>
         <name>yarn.timeline-service.enabled</name>
         <value>true</value>
    </property>

  • 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.applicationhistoryservice.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>


loading table of contents...