Hortonworks HDP cluster installation

Source: Internet
Author: User
Tags gpg hortonworks

The original company's big data servers are CDH, this time the customer asked to use HDP, record the environment installation process

The first part and the CDH installation are basically the same, are doing the preparatory work

1. Preparatory work
1.1.SSH Password-Free login

Configure password-free login by configuring RSA, etc.
1.2. Modify the Host
10.0.0.21 Server21
10.0.0.22 Server22
10.0.0.23 Server23
10.0.0.24 Server24
1.3 Time synchronization

NTP installation, configuring ntp.conf
1.4 Installing the JDK configuration environment variables

2. Formal Installation

2.1 Primary Node Installation httpd

Yum-y Install httpd

Service httpd Restart

2.2 Download Upload Unzip

Download upload ambari-2.4.1.0-centos7.tar.gz, hdp-2.4.2.0-centos7-rpm.tar.gzhdp-utils-1.1.0.20-centos7.tar.gz to/HOME/HDP

Unzip to/var/www/html/hdp/

TAR-XVF ambari-2.4.1.0-centos7.tar.gz-c/var/www/html/hdp/

2.3 Adding a configuration file

Ambari.repo

[AMBARI-2.4.1.0]
name=ambari-2.4.1.0
baseurl=http://server21/hdp/ambari-2.4.1.0/centos7/2.4.1.0-22/
gpgcheck=1
Gpgkey=http://server21/hdp/ambari-2.4.1.0/centos7/2.4.1.0-22/rpm-gpg-key/rpm-gpg-key-jenkins
enabled=1
Priority=1

[hdp-utils-1.1.0.21]
Name=hortonworks Data Platform Utils version-hdp-utils-1.1.0.21
baseurl=http://server21/hdp/hdp-utils-1.1.0.20 /repos/centos7/
gpgcheck=0
gpgkey=http://server21/hdp/hdp-utils-1.1.0.20/repos/centos7/rpm-gpg-key/ Rpm-gpg-key-jenkins
enabled=1
priority=1



[Updates-ambari]
name=ambari-updates
BaseURL =http://server21/hdp/hdp/centos7/2.x/updates/2.4.2.0/
gpgcheck=1
gpgkey=http://server21/hdp/hdp/ Centos7/2.x/updates/2.4.2.0/rpm-gpg-key/rpm-gpg-key-jenkins
enabled=1
Priority=1
and send to other nodes

Scp-r/ETC/YUM.REPOS.D root@10.0.0.22:/etc/

2.4 Installation

Running on the master node
Yum-y Install Ambari-server
Run on a different node
Yum-y Install Ambari-agent
Cleanup command
Yum Clean All

2.5 Master Node Configuration JDK

Ambari-server setup-j/usr/java/jdk1.8.0_51/

2.6 Starting the server and agent

Master Node Ambari-server start
Other nodes ambari-agent start

2.7 Open the Master node URL

http://10.0.0.21:8080/

Follow the page prompts to configure




Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.