Cloudera Managerのインストール_CDHクラスタの構築

2436 ワード

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ディレクトリの作成 parcelserver agent server parcel-repo agentparcels
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