Rate This Document
Findability
Accuracy
Completeness
Readability

Synchronizing the Configuration to Other Nodes

Synchronize the Hadoop configuration to nodes from agent1 to agent3 to complete the Hadoop cluster deployment.

  1. Create a journaldata directory on server1.
    1
    mkdir -p /usr/local/hadoop-3.1.1/journaldata
    
  2. 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
    
  3. 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