vi usage: http://www.cnblogs.com/ssgblue/archive/2011/08/02/2125123.html
install pdsh:
http://esgtech.springnote.com/pages/4000893?print=1
http://www.360doc.com/content/11/0216/21/4171006_93645257.shtml
-rw-r--r-- 1 root root 149792 Oct 23 01:23 pdsh-2.27-1.el6.rf.x86_64.rpm
-rw-r--r-- 1 root root 173484 Oct 23 01:26 libgenders-1.14-2.el6.rf.x86_64.rpm[root@slave2 ~]# rpm -ivh libgenders-1.14-2.el6.rf.x86_64.rpm
warning: libgenders-1.14-2.el6.rf.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 6b8d79e6: NOKEY
Preparing... ########################################### [100%]
1:libgenders ########################################### [100%]
[root@slave2 ~]# rpm -ivh pdsh-2.27-1.el6.rf.x86_64.rpm
warning: pdsh-2.27-1.el6.rf.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 6b8d79e6: NOKEY
Preparing... ########################################### [100%]
1:pdsh ########################################### [100%]
--> Processing Dependency: /usr/bin/ruby for package: 1:rubygem-rack-1.1.0-2.el6.noarch
--> Finished Dependency Resolution
Error: Package: hmc-1.0.2.16-1.el6.noarch (HDP-1.1.1.16)
Requires: php-pecl-json
Error: Package: ruby-augeas-0.4.1-1.el6.x86_64 (epel)
Requires: libaugeas.so.0(AUGEAS_0.1.0)(64bit)
yum source list url:
http://dl.fedoraproject.org/pub/epel/6/SRPMS/repoview/letter_r.group.html
yum - php-pecl-json
add yum source:
rpm -ivh
http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
yum - ruby source??
libruby.so.1.8 rpm : - http://rpm.pbone.net/index.php3/stat/4/idpl/18329277/dir/centos_6/com/ruby-libs-1.8.7.352-7.el6_2.x86_64.rpm.html
centOS6/3 installed HMC of hortonworks
when start hmc web again:
[root@paul conf]# service hmc start
Starting HMC Installer
正在启动 httpd:httpd: apr_sockaddr_info_get() failed for paul
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
vi /etc/httpd/conf/httpd.conf
--- add : serverName paul
开机自启动服务
http://blog.csdn.net/linglongwunv/article/details/5186968
hdp mount point: /home/paul/hdp
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
http://hortonworks.com/community/forums/topic/step7-review-and-deply-failed/
1. Please, do NOT post the whole logs here in the forums! Search for word “fail” and the post only relevant messages.
2. This was already explained many times in the forums, /dev/mapper/ is NOT a mount point, this is device file, and it is impossible to create folders into device files:
v_root/hadoop/hdfs/namenode]/Exec[mkdir -p /dev/mapper/vg_host001-lv_root/hadoop/hdfs/namenode]/returns (err): change from notrun to 0 failed: mkdir -p /dev/mapper/vg_host001-lv_root/hadoop/hdfs/namenode returned 1 instead of one of [0] at /etc/puppet/agent/modules/hdp/manifests/init.pp:253\””,
So, use some filesystem location for data directories, not devices.
Thank you!
Sasha