微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

Ambari 2.7.1.0进行Hadoop 3.0.1集群搭建

工作需要,大数据相关组件又得重新搭建,整理了一下。

序号 主机名 IP 程序 CPU 内存 磁盘 操作系统
1 ambari.dev.smcaiot.com 172.16.4.74 Ambari 4C 24GB 200GB CentOS Linux release 7.4.1708 (Core)
2 master.dev.smcaiot.com 172.16.4.74 Master 4C 24GB 200GB CentOS Linux release 7.4.1708 (Core)
3 node01.dev.smcaiot.com 172.16.4.75 node01 4C 24GB 200GB CentOS Linux release 7.4.1708 (Core)
4 node02.dev.smcaiot.com 172.16.4.76 node02 4C 24GB 200GB CentOS Linux release 7.4.1708 (Core)
hostnamectl set-hostname master.dev.smcaiot.com

cat > /etc/sysconfig/network <<EOF
NETWORKING=yes
HOSTNAME=master.dev.smcaiot.com
EOF

cat > /etc/resolv.conf <<EOF
nameserver 223.5.5.5
EOF

cat > /etc/hosts <<EOF
172.16.4.74 master.dev.smcaiot.com
172.16.4.74 ambari.dev.smcaiot.com
172.16.4.75 node01.dev.smcaiot.com
172.16.4.76 node02.dev.smcaiot.com
EOF

systemctl status firewalld.service
systemctl disable firewalld.service

sed -i "s#SELINUX=enforcing#SELINUX=disabled#g" /etc/selinux/config
setenforce 0

yum install openssl -y

yum install ntp ntpdate  -y 

systemctl start ntpd
systemctl enable ntpd

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。

相关推荐