Ambari brief and Cluster Setup (under)

This chapter builds Ambari, deploy HDP cluster.

First, the Cluster Setup

1.1 to enter the login page

Browser input http://192.168.18.161:8080/ , the default administrator account password: admin

Click Launch Install Wizard 1.2

1.3 Setting up a cluster name

Select version 1.4 and Repository

1.5 Fill in the local library address

Were filled in later redhat7

1.6 Fill in the host address, and the master node id.rsa file

1.7 Wait for the installation

1.8 Select Service

1.9 choose the role of each machine

1.10 set from the node

1.11 Four input admin


1.12 Continue

 

 

1.13 wait for service installation and start

Second, install Hive

Placed Mysql driven at 2.1 / path / to / mysql / directory, and renamed: mysql-connector-java.jar


[root@hadoop102 software]# mkdir -p /path/to/mysql/
[root@hadoop102 software]# cp /opt/software/mysql-libs/mysql-connector-java-5.1.27/mysql-connector-java-5.1.27-bin.jar  /path/to/mysql/mysql-connector-java.jar

2.2 execution ambari-server setup

[root@hadoop102 software]# ambari-server setup --jdbc-db=mysql --jdbc-driver=/path/to/mysql/mysql-connector-java.jar

Click Add Services 2.3

Select Hive 2.4
2.5 distribution node

2.6 distribution and slave client

2.7 Configuring a database connection hive
2.8 Click Next

2.9 Wait for the installation

Third, the configuration HDFS-HA

3.1 Add Service

3.2 Fill in name nameservice

3.3 Role Assignments

3.4 Direct Next

3.5 installation prompts command

3.6 Installation Components

3.7 according to the page prompts

3.8 wait to start assembly

3.9 Installation Tips page initialization NameNode HA

3.10 wait for completion

Reported select error
yum -y erase hdp-select

Published 495 original articles · won praise 446 · Views 140,000 +

Guess you like

Origin blog.csdn.net/lixinkuan328/article/details/104879532