Configure the Timeline Server
You must specify the host name of the Timeline Server web application to enable the Timeline Server. In addition, you can configure certain optional parameters.
-
Required Properties – Only one property must be specified
in the
etc/hadoop/conf/yarn-site.xml
file in order to enable the Timeline Server: the host name of the Timeline Server web application (yarn.timeline-service.hostname
).<property> <description>The hostname of the timeline server web application.</description> <name>yarn.timeline-service.hostname</name> <value>0.0.0.0</value> </property>
ImportantIf 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>