1.修改主机名及hosts文件 10.205.22.185 nn1 (主)作用namenode,resourcemanager,datanode,JournalNode,zk,zkfc(hive,sqoop可选) 10.205.22.186 nn2 (备)作用namenode,resourcemanager,datanode,JournalNode,zk,zkfc 10.205.22.187 dn1 作用datanode,JournalNode,zk 1.1配置ssh免密码登录 主节点能免密码登…