-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCloudera Installation 5.9 - extended
More file actions
72 lines (41 loc) · 1.79 KB
/
Cloudera Installation 5.9 - extended
File metadata and controls
72 lines (41 loc) · 1.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
*******************************************************************************
Delivering an Enterprise Data Hub in the cloud with Cloudera
*******************************************************************************
Start a instance with minimum 8 GB ram (preferably m4.large)
-----*** SSH in to the instance you created ***-----
$ ssh -i /path/to/key_file.pem ubuntu@instance_hostname
-----*** Update the server ***-----
$ sudo apt-get update && sudo apt-get dist-upgrade -y
-----*** Disable transparent huge pages ***-----
$ sudo nano /etc/rc.local
## Add these lines:
if test -f /sys/kernel/mm/transparent_hugepage/enabled; then
echo never > /sys/kernel/mm/transparent_hugepage/enabled
fi
if test -f /sys/kernel/mm/transparent_hugepage/defrag; then
echo never > /sys/kernel/mm/transparent_hugepage/defrag
fi
-----*** Install NTP ***-----
$ sudo apt-get install ntp -y
$ sudo service ntp status
## If it isn't running
$ sudo service ntp start
-----*** Set Swappiness ***-----
sudo sysctl -a | grep vm.swappiness
sudo sysctl vm.swappiness=0
### Note : Now, save the instance to an image, call it “Cloudera Manager” Make sure to
check “No reboot”
-----*** Install and start CM ***-----
SSH into cloudera-manager host
$ wget http://archive.cloudera.com/cm5/installer/latest/cloudera-manager-installer.bin
$ chmod u+x cloudera-manager-installer.bin
$ sudo ./cloudera-manager-installer.bin
## in browser "public_ip_of_cm:7180"
username : admin
password : admin
## Note : in login credentials page
select user ubuntu
all users accept same private key (give the .pem key created for the instances)
##### For CM 5.9
http://archive.cloudera.com/cm5/installer/5.9.1/cloudera-manager-installer.bin
At oracle java install page . Select JCE jar installation (Required for kerberos)