Table of Contents

Map Reduce - Job History Server

About

The history server REST API's allow the user to get status on finished job.

It was known as:

It supports only MapReduce job as seen in the API.

For Spark, see Spark - History Server

Access

Port default to 19888

Rest API

Example: http://historyServerName:port/ws/v1/history/info

<historyInfo>
<startedOn>1541011578573</startedOn>
<hadoopVersion>2.7.0-mapr-1707</hadoopVersion>
<hadoopBuildVersion>
2.7.0-mapr-1707 from f4fe612bcdb0bac9065751ed360a89e4874dd967 by root source checksum c2ec0edf2eb7bb86ec45d03158b3ed
</hadoopBuildVersion>
<hadoopVersionBuiltOn>2017-07-28T16:38Z</hadoopVersionBuiltOn>
</historyInfo>

UI

Jobhistory Ui

Configuration

Env

Map Reduce Job History Server can be configured with the env variable: HADOOP_JOB_HISTORYSERVER_OPTS

Start/Stop

${HADOOP_PREFIX}/sbin/mr-jobhistory-daemon.sh --config $HADOOP_CONF_DIR start historyserver
${HADOOP_PREFIX}/sbin/mr-jobhistory-daemon.sh --config $HADOOP_CONF_DIR stop historyserver

Property List

Documentation / Reference