Skip to content

HDP 安装

HDF 下载地址:

https://docs.hortonworks.com/HDPDocuments/Ambari-2.7.3.0/bk_ambari-installation/content/ambari_repositories.html

资料

https://docs.hortonworks.com/

HDP 源设置

创建本地源

createrepo  ./

Ambari:

vim /etc/yum.repos.d/ambari.repo
[ambari-2.6.2.0]
name=ambari Version - ambari-2.6.2.0
baseurl=http://192.168.30.171/ambari/centos6/
gpgcheck=1
gpgkey=http://192.168.30.171/ambari/centos6/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins
enabled=1
priority=1

HDP:

vim /etc/yum.repos.d/hdp.repo 
[HDP-2.6.5.0]
name=HDP Version - HDP-2.6.5.0
baseurl=http://192.168.30.171/HDP/centos6/2.6.3.0-235
gpgcheck=1
gpgkey=http://192.168.30.171/HDP/centos6/2.6.3.0-235/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins
enabled=1
priority=1

[HDP-UTILS-1.1.0.22]
name=HDP-UTILS Version - HDP-UTILS-1.1.0.22
baseurl=http://192.168.30.171/hdp-util
gpgcheck=1
gpgkey=http://192.168.30.171/hdp-util/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins
enabled=1

清空 YUM:

yum clean all
yum makecache

数据库驱动

cp mysql-connector-java-${ver}.jar /usr/share/java/mysql-connector-java.jar
cp mysql-connector-java-${ver}.jar /var/lib/ambari-server/resources/mysql-connector-java.jar

安装 MySQL 数据库

自行安装