Cloudera Manager安装_搭建CDH集群


nanode 启动服务

 rpm -ivh cloudera-manager-daemons-5.13.1-1.cm5131.p0.2.el7.x86_64.rpm
rpm -ivh cloudera-manager-server-5.13.1-1.cm5131.p0.2.el7.x86_64.rpm
rpm -ivh cloudera-manager-server-db-2-5.13.1-1.cm5131.p0.2.el7.x86_64.rpm
rpm -ivh cloudera-manager-agent-5.13.1-1.cm5131.p0.2.el7.x86_64.rpm --nodeps
datanode启动服务

rpm -ivh cloudera-manager-daemons-5.13.1-1.cm5131.p0.2.el7.x86_64.rpm
rpm -ivh cloudera-manager-agent-5.13.1-1.cm5131.p0.2.el7.x86_64.rpm --nodeps

重启cloudera-scm-server服务

service cloudera-scm-server restart

重启cloudera-scm-agent服务

service cloudera-scm-agent restart

创建Parcel目录

  1. 创建parcel目录,这些目录是serveragent用来接收和发送数据的目录server端的parcel-repo这个目录会把所有
  2. 的安装文件全部下载到此目录,而agent也需要安装包,parcels就是用来存储指定的安装包的,当然需要有权限能操作
  3. 这些目录;

Server节点

 mkdir -p /opt/cloudera/parcel-repo

chown -R cloudera-scm:cloudera-scm /opt/cloudera/parcel-repo

Agent节点

mkdir -p /opt/cloudera/parcels

chown -R  cloudera-scm:cloudera-scm /opt/cloudera/parcels


设置swappiness

cat /proc/sys/vm/swappiness
vi /etc/sysctl.conf
vm.swappiness=10
sysctl -p



你可能感兴趣的:(CDH,linux)