当前位置:   article > 正文

大数据平台Ambari2.7.4+HDP3.1.4安装_大数据平台hdp3安装

大数据平台hdp3安装

Ambari2.7.4+HDP3.1.4是最后一个免费版本,新版本需要授权。
HDP3.1.4基于Hadoop 3,以下是各个组件的版本信息。HDP-3.1.4

在这里插入图片描述

Linux准备

  1. 机器1 Ambari 172.16.21.43
  2. 机器2 Hadoop1 172.16.21.40
  3. 机器3 Hadoop2 172.16.21.41
  4. 机器4 Hadoop3 172.16.21.42

需要实现SSH互通,主机名修改,hosts添加,关闭安全子系统,时间同步,安装JDK1.8等

注意:ssh互通一定要完成,安装mysql5.7.32版本数据库,同一个位置安装jdk,准备好mysql的驱动。
此外,需要安装阿里镜像源,可以访问外网等。

本地源安装

安装httpd

yum install -y yum-utils createrepo httpd
systemctl start httpd
systemctl enable httpd
  • 1
  • 2
  • 3

访问地址:http://172.16.21.43/
网站目录:/var/www/html

下载资源

说明:2021年2月后必须企业许可才可以下载!

cd ~
# ambari
wget http://public-repo-1.hortonworks.com/ambari/centos7/2.x/updates/2.7.4.0/ambari-2.7.4.0-centos7.tar.gz
# hdp
wget http://public-repo-1.hortonworks.com/HDP/centos7/3.x/updates/3.1.4.0/HDP-3.1.4.0-centos7-rpm.tar.gz
wget http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.22/repos/centos7/HDP-UTILS-1.1.0.22-centos7.tar.gz
wgethttp://public-repo-1.hortonworks.com/HDP-GPL/centos7/3.x/updates/3.1.4.0/HDP-GPL-3.1.4.0-centos7-gpl.tar.gz
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7

完成下载后

mkdir /var/www/html/ambari
tar -zxf ambari-2.7.4.0-centos7.tar.gz -C /var/www/html
tar -zxf HDP-3.1.4.0-centos7-rpm.tar.gz -C /var/www/html
tar -zxf HDP-UTILS-1.1.0.22-centos7.tar.gz -C /var/www/html
tar -zxf HDP-GPL-3.1.4.0-centos7-gpl.tar.gz -C /var/www/html
  • 1
  • 2
  • 3
  • 4
  • 5

修改好名称如下,你可以访问 http://172.16.21.43
在这里插入图片描述

制作本地源

yum install yum-utils createrepo yum-plugin-priorities -y
  • 1

ambari.repo

vi ambari/centos7/2.7.4.0-118/ambari.repo

#VERSION_NUMBER=2.7.4.0-118
[ambari-2.7.4.0]
#json.url = http://public-repo-1.hortonworks.com/HDP/hdp_urlinfo.json
name=ambari Version - ambari-2.7.4.0
baseurl=http://172.16.21.43/ambari/centos7/2.7.4.0-118
gpgcheck=1
gpgkey=http://172.16.21.43/ambari/centos7/2.7.4.0-118/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins
enabled=1
priority=1
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11

hdp.repo

按照上面的方法进行修改

yum clean all
yum makecache
  • 1
  • 2

分发到其他服务器

cp ambari/centos7/2.7.4.0-118/ambari.repo /etc/yum.repos.d/
scp ambari/centos7/2.7.4.0-118/ambari.repo root@hadoop1:/etc/yum.repos.d/
  • 1
  • 2

安装依赖

yum install python-devel -y
  • 1

安装ambari-server

yum install ambari-server -y
  • 1

安装MySQL5.7

声明:本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:【wpsshop博客】
推荐阅读
相关标签
  

闽ICP备14008679号