linux ssh 免密登录
三个节点 hadoop102,hadoop103,hadoop104
在102节点执行如下命令
ssh-keygen ssh-copy-id -i /root/.ssh/id_rsa.pub root@hadoop102 ssh-copy-id -i /root/.ssh/id_rsa.pub root@hadoop103 ssh-copy-id -i /root/.ssh/id_rsa.pub root@hadoop104
#/root/.ssh/id_rsa.pub 密钥文件的地址
#hadoop102 在/etc/hosts配置域名映射