微信搜索superit|邀请体验:大数据, 数据管理、OLAP分析与可视化平台 | 赞助作者:赞助作者

安装CDH&CM

hadoop aide_941 10℃

(推荐)https://www.xiaokunli.com/2019/03/25/CM-CDH6.1.0%E5%AE%89%E8%A3%85%E8%BF%87%E7%A8%8B%E8%AF%A6%E8%A7%A3/

(推荐)https://blog.csdn.net/weixin_43704599/article/details/106364916

(推荐)https://blog.csdn.net/weixin_43704599/article/details/106364916

(推荐)https://juejin.im/post/6844903841301790728

https://blog.eric7.site/2019/10/15/centos7-5%E7%A6%BB%E7%BA%BF%E6%90%AD%E5%BB%BAcdh6-3/

 

https://www.cloudera.com/downloads/manager/6-2-1.html

https://www.cloudera.com/downloads/manager/6-3-1.html

 

 

https://zhuanlan.zhihu.com/p/123105873

https://www.cnblogs.com/braveym/p/8783373.html

https://blog.csdn.net/weixin_33724046/article/details/93054742

https://blog.csdn.net/qq_21153619/article/details/81556702

https://blog.eric7.site/2019/10/15/centos7-5%E7%A6%BB%E7%BA%BF%E6%90%AD%E5%BB%BAcdh6-3/

https://archive.cloudera.com/cm6/6.3.1/redhat7/yum/RPMS/x86_64/

Cloudera Manager

https://www.cloudera.com/downloads.html

https://www.cloudera.com/downloads.html

支持的操作系统:

https://docs.cloudera.com/documentation/enterprise/6/release-notes/topics/rg_os_requirements.html#c63_supported_os

下载:

https://www.cloudera.com/downloads/manager/6-3-0.html

 

历史版本:

https://docs.cloudera.com/documentation/enterprise/6/release-notes/topics/rg_cdh_6_download.html

https://docs.cloudera.com/documentation/enterprise/release-notes/topics/cdh_vd_cdh_download.html

 

Cloudera Enterprise 6.2.x

Cloudera Enterprise 6.3.x

Supported centos7.1-7.8

 

vim /etc/hosts:

 

10.xxx.xx.237 cdh01 cmserver

10.xxx.xx.135 cdh02

10.xxx.xx.235 cdh03

10.xxx.xx.236 cdh04

10.xxx.xx.110 cdh05

10.xxx.xx.122 cdh06

 

0. postgres安装

需要:postgresql-server >= 8.4

下载postgres:

https://yum.postgresql.org/9.4/redhat/rhel-7-x86_64/repoview/

https://yum.postgresql.org/packages/#pg94

rpm -qa|grep postgres

wget https://yum.postgresql.org/9.4/redhat/rhel-7-x86_64/postgresql94-libs-9.4.26-1PGDG.rhel7.x86_64.rpm
wget https://yum.postgresql.org/9.4/redhat/rhel-7-x86_64/postgresql94-9.4.26-1PGDG.rhel7.x86_64.rpm
wget https://yum.postgresql.org/9.4/redhat/rhel-7-x86_64/postgresql94-server-9.4.26-1PGDG.rhel7.x86_64.rpm
安装PostgreSQL,注意安装顺序:

rpm -ivh postgresql94-libs-9.4.26-1PGDG.rhel7.x86_64.rpm
rpm -ivh postgresql94-9.4.26-1PGDG.rhel7.x86_64.rpm
rpm -ivh postgresql94-server-9.4.26-1PGDG.rhel7.x86_64.rpm

1. CM Server安装

下载cm:
https://archive.cloudera.com/cm6/6.3.1/redhat7/yum/RPMS/x86_64/
https://archive.cloudera.com/cm6/6.2.1/redhat7/yum/RPMS/x86_64/
https://www.cloudera.com/downloads/manager/6-3-1.html

 

$ wget -c https://archive.cloudera.com/cm6/6.3.1/cloudera-manager-installer.bin

$ chmod u+x cloudera-manager-installer.bin

$ sudo ./cloudera-manager-installer.bin

手动下载:
https://archive.cloudera.com/cm6/6.3.1/redhat7/yum/RPMS/x86_64/
然后
rpm -ivh
——————
yum 安装
wget https://archive.cloudera.com/cm6/6.3.1/redhat7/yum/cloudera-manager.repo -P /etc/yum.repos.d/ 
rpm --import https://archive.cloudera.com/cm6/6.3.1/redhat7/yum/RPM-GPG-KEY-cloudera
yum searcch cloudera
cloudera-manager-agent.x86_64 : The Cloudera Manager Agent
cloudera-manager-repository.noarch : Cloudera Manager
cloudera-manager-server.x86_64 : The Cloudera Manager Server
cloudera-manager-server-db-2.x86_64 : Embedded database for the Cloudera Manager Server
cloudera-manager-daemons.x86_64 : Provides daemons for monitoring Hadoop and related tools.

 

主节点安装:

yum install cloudera-manager-daemons cloudera-manager-agent cloudera-manager-server -y

systemctl status cloudera-scm-daemons

systemctl status cloudera-scm-server

systemctl start cloudera-scm-server

systemctl start cloudera-scm-agent

 

如果想直接通过web界面安装,可以省略2,3步骤,直接用下面的方法:

组件安装

浏览器输入http://cm-server:7180/cmf/login
账号:admin
密码:admin

2. CM Agent安装

wget https://archive.cloudera.com/cm6/6.3.1/redhat7/yum/cloudera-manager.repo -P /etc/yum.repos.d/
rpm --import https://archive.cloudera.com/cm6/6.3.1/redhat7/yum/RPM-GPG-KEY-cloudera
yum searcch cloudera-manager-agent

 

从节点安装:

yum install cloudera-manager-daemons cloudera-manager-agent -y

 

service cloudera-scm-agent status

rpm --import https://archive.cloudera.com/cm6/6.3.1/redhat7/yum/RPM-GPG-KEY-cloudera

3. CDH安装

https://archive.cloudera.com/cdh6/6.3.2/parcels/

下载:

https://archive.cloudera.com/cdh6/6.3.2/parcels/CDH-6.3.2-1.cdh6.3.2.p0.1605554-el7.parcel

https://archive.cloudera.com/cdh6/6.3.2/parcels/CDH-6.3.2-1.cdh6.3.2.p0.1605554-el7.parcel.sha256

https://archive.cloudera.com/cdh6/6.3.2/parcels/manifest.json

 

4. CDH & CM卸载

https://blog.csdn.net/wzy0623/article/details/102946646

 

 


Null value(s) passed to lookup by non-nullable natural-id:

https://community.cloudera.com/t5/Support-Questions/Found-Error-when-install-the-CDP-Trial-Version/td-p/295995/page/2

转载请注明:SuperIT » 安装CDH&CM

喜欢 (0)or分享 (0)