Menu

MapReduce JobHistoryServer (JHS) Start

Start the MapReduce Job History Server.

It is recommended but not required to start the JHS server before the Resource Manager. If started after after, the ResourceManager will print a message in the log file complaining it cant reach the JSH server (default port is "10020").

Show Source Code
module.exports = header: 'MapReduce JHS Start', handler: ({options}) ->

Wait

Wait for the DataNode and NameNode to be started to fetch all history.

Show Source Code
  @call once: true, 'ryba/hadoop/hdfs_nn/wait', options.wait_hdfs_nn, conf_dir: options.conf_dir

Service

You can also start the server manually with the following command:

Show Source Code
service hadoop-mapreduce-historyserver start
systemctl start hadoop-mapreduce-historyserver
su -l mapred -c "/usr/hdp/current/hadoop-mapreduce-historyserver/sbin/mr-jobhistory-daemon.sh --config /etc/hadoop-mapreduce-historyserver/conf start historyserver"
Show Source Code
  @service.start
    name: 'hadoop-mapreduce-historyserver'