1. SSH login permission setting_
SSH: secure shell, secure shell. It is a network service program that transmits data safely and efficiently. Hadoop is a cluster. If ssh is not installed, the servers cannot be accessed.
(1) Open remote login and allow all users to access.
(2) Enter "ssh-keygen -t rsa -P """
"cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys" in the terminal
(3) Enter "ssh localhost".
(4) If you can log in without entering a password, the SSH password-free login setting is successful.
Two, install stand-alone Hadoop
(1), install Hamebrew (Mac OS package manager)
(2) Use Homebrew and enter "brew install hadoop" in the terminal to automatically install Hadoop. And check the version:
Third, pseudo-distributed installation
(1), modify core-site.xml
(2), modify hdfs-site.xml
(3), initialize the file system hadoop namenode -format.
(4), start all processes, start-all.sh
(5), enter jps, view all java processes
(6), browser input: localhost:9870, view hadoop information.