YARN Resource Management
Also available as:
PDF
loading table of contents...

Configuring the Timeline Server

Required Properties

Only one property needs to be specified in the etc/hadoop/conf/yarn-site.xml file in order to enable the Timeline Server: yarn.timeline-service.hostname for Timeline Server 1.0. The host name of the Timeline Server web application.

Example:

 <property>
 <description>The hostname of the timeline server web application.</description>
 <name>yarn.timeline-service.hostname</name>
 <value>0.0.0.0</value>
</property>

Three properties must be specified to upgrade to Timeline Server 1.5: yarn.timeline-service.entity-group-fs-store.done-dir, yarn.timeline-service.entity-group-fs-store.active-dir, and yarn.timeline-service.version.

Examples:

<property>
 <description>DFS path to store active application’s timeline data</description>
 <name>yarn.timeline-service.entity-group-fs-store.active-dir</name>
 <value>/ats/active/</value>
</property>
<property>
 <description>DFS path to store done application’s timeline data.</description>
 <name>yarn.timeline-service.entity-group-fs-store.done-dir</name>
 <value>/ats/done/</value>
</property>
<property>
 <description>Timeline service version we’re currently using.</description>
 <name>yarn.timeline-service.version</name>
 <value>1.5</value>
</property>

Advanced Properties

In addition to the host name, administrators can also configure the ports of the RPC and the web interfaces, as well as the number of RPC handler threads.

  • yarn.timeline-service.address

    The default address for the Timeline Server to start the RPC server.

    Example:

    <property>
     <description>This is default address for the timeline server to start the RPC server.</description>
     <name>yarn.timeline-service.address</name>
     <value>${yarn.timeline-service.hostname}:10200</value>
    </property>
  • yarn.timeline-service.handler-thread-count

    The handler thread count to serve the client RPC requests.

    Example:

    <property>
     <description>Handler thread count to serve the client RPC requests.</description>
     <name>yarn.timeline-service.handler-thread-count</name>
     <value>10</value>
    </property>
  • yarn.timeline-service.version

    Timeline service version we’re currently using.

    Example:

    <property>
     <description>Timeline service version we’re currently using.</description>
     <name>yarn.timeline-service.version</name>
     <value>1.5</value>
    </property>
  • yarn.timeline-service.webapp.address

    The HTTP address of the Timeline Server web application.

    Example:

    <property>
     <description>The http address of the timeline server web application.</description>
     <name>yarn.timeline-service.webapp.address</name>
     <value>${yarn.timeline-service.hostname}:8188</value>
    </property>
  • yarn.timeline-service.webapp.https.address

    The HTTPS address of the Timeline Server web application.

    Example:

    <property>
     <description>The https adddress of the timeline server web application.</description>
     <name>yarn.timeline-service.webapp.https.address</name>
     <value>${yarn.timeline-service.hostname}:8190</value>
    </property>