标签:hue solr ext move 执行 layer 自己的 oozie kms
默认的用户数据路径是:
/var/lib/flume-ng /var/lib/hadoop* /var/lib/hue /var/lib/navigator /var/lib/oozie /var/lib/solr /var/lib/sqoop* /var/lib/zookeeper data_drive_path/dfs data_drive_path/mapred data_drive_path/yarn
注意在改成自己的路径
如果你是用packages安装的,忽略此节,直接转到“卸载Cloudera manager server”。在CM页面上找到按钮,禁用和删除这些pacels.
在CM主页上,选定集群,"删除".
在安装CM的机器上执行以下
$ sudo /usr/share/cmf/uninstall-cloudera-manager.sh
sudo service cloudera-scm-server stop
sudo service cloudera-scm-server-db stop
然后(RHEL)
sudo yum remove cloudera-manager-server
sudo yum remove cloudera-manager-server-db-2
1.关闭agent
sudo service cloudera-scm-agent next_stop_hard
sudo service cloudera-scm-agent stop
2.删除服务
$ sudo yum remove ‘cloudera-manager-*‘ avro-tools crunch flume-ng hadoop-hdfs-fuse hadoop-hdfs-nfs3 hadoop-httpfs hadoop-kms hbase-solr hive-hbase hive-webhcat hue-beeswax hue-hbase hue-impala hue-pig hue-plugins hue-rdbms hue-search hue-spark hue-sqoop hue-zookeeper impala impala-shell kite llama mahout oozie pig pig-udf-datafu search sentry solr-mapreduce spark-core spark-master spark-worker spark-history-server spark-python sqoop sqoop2 whirr hue-common oozie-client solr solr-doc sqoop2-client zookeeper
3.执行清除
$ sudo yum clean all
1.在所有的agent主机上杀死进程
$ for u in cloudera-scm flume hadoop hdfs hbase hive httpfs hue impala llama mapred oozie solr spark sqoop sqoop2 yarn zookeeper; do sudo kill $(ps -u $u -o pid=); done
$ sudo umount cm_processes
$ sudo rm -Rf /usr/share/cmf /var/lib/cloudera* /var/cache/yum/cloudera* /var/log/cloudera* /var/run/cloudera*
$ sudo rm /tmp/.scm_prepare_node.lock
$ sudo rm -Rf /var/lib/flume-ng /var/lib/hadoop* /var/lib/hue /var/lib/navigator /var/lib/oozie /var/lib/solr /var/lib/sqoop* /var/lib/zookeeper
$ sudo rm -Rf data_drive_path/dfs data_drive_path/mapred data_drive_path/yarn (改成自己路径)
略
标签:hue solr ext move 执行 layer 自己的 oozie kms
原文地址:http://www.cnblogs.com/skyrim/p/7455494.html