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. 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>
[Important]Important

If the Timeline Server is running on the same host as the NameNode and is under heavy load, it may be shut down by the system OOM (Out of Memory) killer. Therefore you should consider deploying the Timeline Server on a separate host if you anticipate read-heavy loads.

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