cdh集群有官方卸载文档链接(博客下方):
Uninstalling Cloudera Manager and Managed Software | 6.2.x | Cloudera Documentation
一、ambari-web 页面停服务
进入维护模式,免报警
Host--->All Host-->Hosts-->Turn on Maintance Mode
Dashboard---> Stop all
ambari-web卸载前确保集群所有服务进程已经停止:所有组件,包括ranger以及disable keberos,停止keberos进程
二、后台停止ambari进程
①停止所有主机的ambari-agent:ambari-agent stop
②停止主服务器的ambari-server:ambari-server