1. Start Hadoop
1. Open four virtual machines in VMware
2. Connect management in xshell
3. Close the firewall of the four nodes
Close the firewall
systemctl stop firewalld
service iptables stop
4. Turn on zookeeper (high availability)
to start the services in sequence on the four machines:
zkServer.sh start
Check the status after the four machines have been started successfully:
zkServer.sh status
5. Turn on the hadoop service, turn
on the master node and
enter the hadoop directory
cd /root/app/hadoop-2.7.7
Turn on
sbin/start-all.sh
6. On the web page, check if
http://192.168.61.102:50070/ is turned on (my computer is the second node active)
Two, start HBase
cd /root/app/hbase-2.1.9/bin(可以不做,因为之前以及在profile配置了path)
start-hbase.sh
Use web port number 16010