Friday, February 21, 2014

Cloudera Manager 4.8.1 - restart (special case)

Note: solution for restarting cloudera manager service after restarting cluster

- suppose cloudera manager was installed at 10.10.10.10
- add '10.10.10.10 static.10-10-10-10.domain.name' to /etc/hosts of all cluster nodes
- try restart cloudera manager service again
- comment '10.10.10.10 static.10-10-10-10.domain.name' out
- Note: check the reason at http://mungeol-heo.blogspot.kr/2014/02/1.html

Cloudera Manager 4.8.1 - Cluster Setup (special case)

Note: solution for '10.10.10.10 static.10-10-10-10.domain.name' like error while installing cloudera manager

- follow the steps at 'http://mungeol-heo.blogspot.kr/2014/02/1.html'
- there will be an installation failure at step 6.
- check error log
- '10.10.10.10 static.10-10-10-10.domain.name' like message will be found
- copy it and add to /etc/hosts of all cluster nodes
- example

127.0.0.1       localhost
#127.0.1.1      hostname0

# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

10.10.10.10 hostname0
10.10.10.10 static.10-10-10-10.domain.name
10.10.10.11 hostname1
10.10.10.12 hostname2

- retry
- before move to next step, comment '10.10.10.10 static.10-10-10-10.domain.name' out
- Note: do not delete '10.10.10.10 static.10-10-10-10.domain.name', it will be used after rebooting the cluster nodes (http://mungeol-heo.blogspot.kr/2014/02/cloudera-manager-481-restart-special.htmll)
- Note: follow the step and order of '10.10.10.10 static.10-10-10-10.domain.name' of /etc/hosts strictly, or there will be warnings at hosts inspection
- Note: the reason, which causes '10.10.10.10 static.10-10-10-10.domain.name' like error, is network organization / configuration of cluster

Monday, February 17, 2014

Ubuntu 12.04 - Python (psycopg2)

- sudo apt-get install python-pip
- sudo apt-get build-dep python-psycopg2
- sudo pip install psycopg2