美文网首页
Ambari2.6.2安装

Ambari2.6.2安装

作者: nightwish夜愿 | 来源:发表于2018-05-30 21:48 被阅读0次

    Ambari 和HDP版本支持查询

    https://docs.hortonworks.com/

    https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.3/bk_support-matrices/content/ch_matrices-ambari.html

    Ambari  软件下载地址查询

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

    HDP软件下载地址查询

    https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.2.0/bk_ambari-installation/content/hdp_26_repositories.html

    Ambari 2.6.2 

    http://public-repo-1.hortonworks.com/ambari/centos7/2.x/updates/2.6.2.0/ambari-2.6.2.0-centos7.tar.gz

    http://public-repo-1.hortonworks.com/ambari/centos7/2.x/updates/2.6.2.0/ambari.repo

    HDP2.6.2

    http://public-repo-1.hortonworks.com/HDP/centos7/2.x/updates/2.5.3.0/HDP-2.5.3.0-centos7-rpm.tar.gz

    在httpd网站根目录,默认是即/var/www/html/,创建目录ambari,并且将下载的压缩包解压到/var/www/html/ambari目录。

    cd /var/www/html/

    mkdir ambari

    cd ambari/

    验证http网站是否可用,可以使用浏览器直接访问下面的地址:

     http://192.168.190.21/ambari/

    ambari.repo

    #VERSION_NUMBER=2.6.2.0-155

    [ambari-2.6.2.0]

    name=ambari Version - ambari-2.6.2.0

    baseurl=http://192.168.32.139/ambari/ambari/centos7/2.6.2.0-155

    gpgcheck=1

    gpgkey=http://192.168.32.139/ambari/ambari/centos7/2.6.2.0-155/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins

    enabled=1

    priority=1

    hdp.repo

    #VERSION_NUMBER=2.6.5.0-292

    [HDP-2.6.5.0]

    name=HDP Version - HDP-2.6.5.0

    baseurl=http://192.168.32.139/ambari/HDP/centos7/2.6.5.0-292

    gpgcheck=1

    gpgkey=http://192.168.32.139/ambari/HDP/centos7/2.6.5.0-292/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.32.139/ambari/HDP-UTILS/centos7/1.1.0.22/

    gpgcheck=1

    gpgkey=http://192.168.32.139/ambari/HDP-UTILS/centos7/1.1.0.22//RPM-GPG-KEY/RPM-GPG-KEY-Jenkins

    enabled=1

    priority=1

    -----------------------------------------------------------------------------------------

    ARNING: Before starting Ambari Server, you must copy the MySQL JDBC driver JAR file to /usr/share/java and set property "server.jdbc.driver.path=[path/to/custom_jdbc_driver]" in ambari.properties.Press to continue.

    ERROR: Before starting Ambari Server, you must copy the MySQL JDBC driver JAR file to /usr/share/java and set property "server.jdbc.driver.path=[path/to/custom_jdbc_driver]" in ambari.properties.

    ERROR: Exiting with exit code -1.

    REASON: Before starting Ambari Server, you must copy the MySQL JDBC driver JAR file to /usr/share/java and set property "server.jdbc.driver.path=[path/to/custom_jdbc_driver]" in ambari.properties.

    修改 /etc/ambari-server/conf/ambari.properties

    添加

    server.jdbc.driver.path=/usr/share/java/mysql-connector-java-5.1.30.jar

    .将Ambari数据库脚本导入到数据库。

    如果使用自己定义的数据库,必须在启动Ambari服务之前导入Ambari的sql脚本。用Ambari用户(上面设置的用户)登录mysql

    mysql -uroot -p

    use ambari

    source /var/lib/ambari-server/resources/Ambari-DDL-MySQL-CREATE.sql

    参考https://www.cnblogs.com/boyzgw/p/6525313.html

    相关文章

      网友评论

          本文标题:Ambari2.6.2安装

          本文链接:https://www.haomeiwen.com/subject/rfnxsftx.html