CDH:cdh5环境搭建
Posted yy3b2007com
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了CDH:cdh5环境搭建相关的知识,希望对你有一定的参考价值。
其中出现警告解决方案参考:http://www.cnblogs.com/fujiangong/p/5620050.html
安装环境三台centos7 vmw:
cdh-141 192.168.0.141 [主节点]
cdh-142 192.168.0.142 [从节点]
cdh-143 192.168.0.143 [从节点]
1)[各节点]使用本地yum repo进行安装时:
需要在各个节点(192.168.0.141,192.168.0.142,192.168.0.143)上设置本地repo(/etc/yum.repos.d/)
mkdir backup
mv *.repo ./backup
echo ‘[cloudera-manager]
name = Cloudera Manager, Version 5.13.0
baseurl = http://192.168.0.141/cm5/
gpgcheck = 0
‘> cloudera-manager.repo
echo ‘[myrepo]
name=myrepo
baseurl=http://192.168.0.141/cm5/
enabled=1
gpgcheck=0‘> myrepo.repo
2)[主节点]需要安装httpd,并在/var/www/html下创建cm5存放cm安装源,从http://archive.cloudera.com/cm5/redhat/7/x86_64/cm/5.13.0/下载源文件到该(/var/wwww/html/cm5)路径下;
[[email protected] bin]$ cd /var/www/html/
[[email protected] html]$ ls
cdh5 cm5
[[email protected] html]$ cd cm5/
[[email protected] cm5]$ ls
mirror repodata RPMS
3)[主节点]需要下载cdh5的安装源(
http://archive.cloudera.com/cdh5/parcels/5.13.0/CDH-5.13.0-1.cdh5.13.0.p0.29-el7.parcel
http://archive.cloudera.com/cdh5/parcels/5.13.0/CDH-5.13.0-1.cdh5.13.0.p0.29-el7.parcel.sha1
http://archive.cloudera.com/cdh5/parcels/5.13.0/manifest.json
)到/val/www/html/cdh5/下
[[email protected] ~]$ cd /var/www/html/
[[email protected] html]$ ls
cdh5 cm5
[[email protected] html]$ cd cdh5/
[[email protected] cdh5]$ ls
CDH-5.13.0-1.cdh5.13.0.p0.29-el7.parcel CDH-5.13.0-1.cdh5.13.0.p0.29-el7.parcel.sha manifest.json
以上是关于CDH:cdh5环境搭建的主要内容,如果未能解决你的问题,请参考以下文章