Synchronizing the Configuration to Other Nodes
Synchronize the Hadoop configuration to nodes from agent1 to agent3 to complete the Hadoop cluster deployment.
- Create a journaldata directory on server1.
1mkdir -p /usr/local/hadoop-3.1.1/journaldata
- Copy hadoop-3.1.1 to the /usr/local directory on nodes from agent1 to agent3.
1 2 3
scp -r /usr/local/hadoop-3.1.1 root@agent1:/usr/local scp -r /usr/local/hadoop-3.1.1 root@agent2:/usr/local scp -r /usr/local/hadoop-3.1.1 root@agent3:/usr/local
- Log in to nodes from agent1 to agent3 and create soft links for hadoop-3.1.1.
1 2
cd /usr/local ln -s hadoop-3.1.1 hadoop
Parent topic: Deploying Hadoop