hadoop cluster start
https://wenku.baidu.com/view/c36ec0b277232f60ddcca1ee.html
2.5 Start the zookeeper cluster (start zk separately)
cd /weekend/zookeeper-3.4.5/bin/
./zkServer.sh start
#View status: one leader, two followers
./zkServer.sh status
2.6 Start journalnode (execute separately)
cd /weekend/hadoop-2.4.1
sbin/hadoop-daemon.sh start journalnode
#Run the jps command to check that there are more JournalNode processes
2.9 Start HDFS (master node)
sbin/start-dfs.sh
2.10 Start YARN (######Note #####: start-yarn.sh is executed on weekend03, the namenode and resourcemanager are separated because of performance problems, because they both take up a lot of resources, so they are separated , they should be started on different machines when they are separated)
sbin/start-yarn.sh
sbin/mr-jobhistory-daemon.sh start historyserver