Original address: http://blog.csdn.net/a921122/article/details/51939692
File Download
CDH (Cloudera's distribution, including Apache Hadoop), is one of the many branches of Hadoop, built from Cloudera maintenance, based on the stable version of Apache Hadoop, and integrates many patches, Can be used directly in production environments.
Cloudera Manager simplifies the installation and configuration management of the host, Hadoop, Hive, and spark services in a cluster by making it easy to install and monitor management components for large data processing related to Hadoop in the cluster.
Download address for related packages:
Cloudera Manager Address: http://archive.cloudera.com/cm5/cm/5/
Download the corresponding file, I downloaded: cloudera-manager-el6-cm5.7.1_x86_64.tar.gz
CDH installation package Address: Http://archive.cloudera.com/cdh5/parcels
Since our operating system is CentOS6.5, we need to download the following files to find the corresponding version:
Cdh-5.7.1-1.cdh5.7.1.p0.11-el6.parcel
Cdh-5.7.1-1.cdh5.7.1.p0.11-el6.parcel.sha1
Manifest.json
Prepare JDBC, wait for the connection MySQL will use: http://download.softagency.net/MySQL/Downloads/Connector-J/
It's a total of 5 files on JDBC.
It is strongly recommended that all of the following actions be done under root, without asking why I know.
No side, there are errors, 10 have 9 are directory permissions problem, according to log check error.
preparatory work: System environment Construction
If you use virtual machine installation, each node at least guaranteed hard disk space 20G, recommended 30G or more.
Memory, master at least 6 G, recommended for more than 8G, slave at least 4G
The following operations require (root) administrator privileges
1. Network configuration (all nodes)
Modify Host Name: Vim/etc/sysconfig/network
[HTML] view plain copy print? Networking=yes Hostname=node1 gateway=192.168.3.253
To modify the correspondence between IP and host name: Vim/etc/hosts
[HTML] view plain copy print? 192.168.3.201 node1 192.168.3.202 node2 192.168.3.203 node3 192.168.3.204 node4
Modify Network Configuration
Vim/etc/sysconfig/network-scripts/ifcfg-eth0
[HTML] view plain copy print? Device= "eth0" Bootproto=none ipv6init= "yes" nm_controlled= "yes" onboot= "yes" type= "Ethernet" uuid= "038b2dab-59 02-46d7-9d4c-2c0fb42599b9 "hwaddr=00:0c:29:50:84:9a ipaddr=192.168.3.201 prefix=24 GATEWAY=192.168.3.253 DNS1=19 2.168.1.242 defroute=yes Ipv4_failure_fatal=yes Ipv6_autoconf=yes ipv6_defroute=yes