Host hardware configuration running environment hardware and software environment l host operating system: Windows64bit, dual-core 4-thread, clock speed 2.2G, 8G memory l virtual software: VMware & reg; Workstation9.0.0build-812388l virtual machine operating system: centOs64bit, single core, 2 GB memory
- Host hardware configuration
Operating Environment software and hardware environment l host operating system: Windows 64 bit, dual-core 4-thread, clock speed 2.2 GB, 8 GB memory
L virtual software: VMware®Workstation 9.0.0 build-812388
L virtual machine operating system: CentOs 64bit, single core, 2 GB memory
- Virtual Machine hardware and software configuration
The cluster network environment cluster contains three nodes: nodes are connected to each other through a LAN and can be pinged to each other. The IP addresses and host names of nodes are distributed as follows:
L 192.168.58.128 namenode (installation machine)
L 192.168.58.129 datanode1
L 192.168.58.130 datanode2
All nodes are CentOS, and the firewall iptables is disabled. in namenode, ssh can be used to connect to two datanode nodes without a password.
- Download binfile
Cloudera Manager: http://archive-primary.cloudera.com/cm5/installer/5.3.2/cloudera-manager-installer.bin
- Download the rpm package required by Cloudera Manager
URL: http://archive.cloudera.com/cm5/redhat/6/x86_64/cm/5.3.2/RPMS/x86_64/
- Install the rpm file
Put the downloaded rpm package in the folder rpm (the folder name is random)
$ Cd./rpm (enter the rpm directory)
$ Yum localinstall -- nogpgcheck *. rpm (install the rpm Package)
- Install the rpm file
Go to the download directory for the cloudera-manager-installer.bin
$ Chmod u + x cloudera-manager-installer.bin (binfile permission for download)
Run./cloudera-manager-installer.bin (about 10 minutes)
- Login CM
Enter localhost: 7180 first login username: admin Password: admin
- Local Parcel source
Configure local Parcel source through http service
$ Yum install httpd $ service httpd start $ mkdir/var/www/html/cdh5 $ mv CDH-5.3.2-1.cdh5.3.2.p0.10-el6.parcel/var/www/html/cdh5 $ mv manifest. json/var/www/html/cdh5 $ mv CDH-5.3.2-1.cdh5.3.2.p0.10-el6.parcel.sha1/var/www/html/cdh5 $ chmod-R ugo + rX/var/www/html/cdh5 get Parcel from obtain the following URL, download. parcel file, manifest. json file and.
sha1
:
Http://archive-primary.cloudera.com/cdh5/parcels/5.3.2.10/You can view the file after the configuration is successful.
- ConfigurationParcel sourceAdd namenode/cdh5/as Parcel as the remote warehouse during installation and place it in the first position in the remote warehouse list.
-
Add machineEnter 192.168.58. [128-130] When selecting the machines to install the CDH cluster, and find the three machines.
After the local source is configured, click Next. the following interface is displayed.
- Install Parcel
- Select service
Continue to the next step and select the service to be installed
- Cluster configuration
Next, configure and execute the cluster.
- Log on to the DashBoard
After everything succeeds, go to the system: