# # #通过http://192.168.50.200:7180/cmf/login Access cm console
4.CDH Installation
4.1CDH Cluster Setup Wizard
1.admin/admin Landing to CM
2. Agree to license agreement, click Continue
3. Select 60 trial, click Continue
4. Click "Continue"
5. Enter the host IP or name, click Search to find the host name and click Continue
6. Click "Continue"
7. Using the Parcel option, click "More Options", click "-" to delete all other addresses, enter HTTP://IP-192-168-50-200.HNS.COM/CDH5.12.1/Click "Save Changes"
8. Select the custom repository and enter the cm http address
9. Click "Continue" to go to the next step to install the JDK
10. Click "Continue" to go to the next step, the default multi-user mode
11. Click "Continue" to enter the next step to configure the SSH account password:
12. Click "Continue" to proceed to the next step, install Cloudera Manager related to each node
13. Click "Continue" to go to the next step to install CDH to each node
14. Click "Continue" to proceed to the next host check to ensure that all checks are
The above solutions:
Perform the following actions on each machine:
[Email protected] ~]# echo never >/sys/kernel/mm/transparent_hugepage/enabled
[Email protected] ~]# echo never >/sys/kernel/mm/transparent_hugepage/defrag
[Email protected] ~]# echo "vm.swappiness = ten" >>/etc/sysctl.conf
[Email protected] ~]# sysctl-p
Click Finish to enter the Service Setup Wizard!!!
4.2 Cluster Setup Setup Wizard
1. Select the services you want to install, using the custom services here, such as
2. Click "Continue" to enter the cluster role assignment
HDFs Role Assignment:
Hive Role Assignment:
Cloudera Manager Service Role assignments:
Spark Role Assignment: (Spark on Yarn so there is no master and worker role for Spark)
Yarn Role Assignment:
Zookeeper Role Assignment: (Minimum of 3 servers)
3. Role assignment Complete Click "Continue" to proceed to the next step to test the database connection
4. Test success, click "Continue" to enter the directory settings, where the default default directory is used, according to the actual situation of the directory modification
5. Click "Continue" to wait for the service to start successfully!!!
6. Click "Continue" to display the cluster installation success!
7. After successful installation, go to the Home admin interface
5. Quick Build Service Verification
5.1HDFS authentication (Mkdir+put+cat +get)
mkdir Operation:
Put operation:
Cat operation:
Get Operation:
5.2 Hive Validation
Using the Hive command-line operation
CDH5.12.1 Installation Deployment