部署hadoop+hive+sqoop

  • 实验环境

主机名

主机IP

角色

操作系统

hadoop1

192.168.1.40

NameNode

CentOS 7.4

hadoop2

192.168.1.41

DataNode

CentOS 7.4

hadoop3

192.168.1.42

DataNode

CentOS 7.4

一、Hadoop分布式安装配置

1.所有节点配置SSH免密登录

[root@hadoop1 ~]# vim /etc/hosts

192.168.1.40 hadoop1

192.168.1.41 hadoop2

192.168.1.42 hadoop3

[root@hadoop1 ~]# ssh-keygen

[root@hadoop1 ~]# ssh-copy-id 192.168.1.40

[root@hadoop1 ~]# ssh-copy-i

猜你喜欢

转载自blog.csdn.net/qq_41490561/article/details/104589158