CDH管理节点扩容磁盘步骤

把4个节点加12G内存,把hive的heap调到6G,按group
重启服务让配置生效

注:

停服务前在yarn的application webui查flink的application id

yarn application -kill application_1567486895264_9227


1/ CDH停集群各服务,停CM.命令停mysql服务,停nginx,停机扩容磁盘
systemctl stop mariadb.service
或systemctl stop mysqld.service
systemctl stop cloudera-scm-server
systemctl stop cloudera-scm-agent
2/ 扩容后重启node1,启动mysql, 启动cm,
systemctl start mariadb.service
systemctl status cloudera-scm-server
systemctl start cloudera-scm-server

systemctl restart cloudera-scm-agent
systemctl enable cloudera-scm-agent
systemctl status cloudera-scm-agent

3/ 在控制台启CM,启集群服务

有些人,自甘堕落;有些人,即便身处深渊,也依旧笑容灿烂。
原文地址:https://www.cnblogs.com/hongfeng2019/p/11453288.html