Start YARN/MapReduce Services
To start YARN, run commands as a YARN user. To start MapReduce, run commands as a MapReduce user.
Note | |
---|---|
The |
Manually clear the ResourceManager state store.
su - yarn -c "yarn resourcemanager -format-state-store"
Start the ResourceManager on all your ResourceManager hosts.
su - yarn -c "/usr/hdp/current/hadoop-yarn-resourcemanager/sbin/yarn-daemon.sh start resourcemanager" ps -ef | grep -i resourcemanager
Start the TimelineServer on your TimelineServer host.
su - yarn -c "/usr/hdp/current/hadoop-yarn-tinelineserver/sbin/yarn-daemon.sh start timelineserver" ps -ef | grep -i timelineserver
Start the NodeManager on all your NodeManager hosts.
su - yarn -c "/usr/hdp/current/hadoop-yarn-nodemanager/sbin/yarn-daemon.sh start nodemanager" ps -ef | grep -i nodemanager
To start MapReduce, run the following commands:
su - mapreduce -c "/usr/hdp/current/hadoop-mapreduce-historyserver/sbin/mr-jobhistory-daemon.sh start historyserver" ps -ef | grep -i jobhistoryserver