CDH6彻底删除清空

大数据评论1,474阅读模式
摘要

CDH6无残留彻底删除,删除所有相关目录。

停止cloudera的node

sudo systemctl status cloudera-scm-agent.service
sudo systemctl status cloudera-scm-server.service 
sudo systemctl stop cloudera-scm-agent.service
sudo systemctl stop cloudera-scm-server.service 
sudo yum remove 'cloudera-manager-*'
sudo umount /var/run/cloudera-scm-agent/process

删除残留文件

sudo rm -rf /var/cache/yum/x86_64/\$releasever/cloudera-manager/  /var/cache/yum/x86_64/7Server/cloudera-manager/ /usr/share/cmf /usr/lib64/cmf /var/lib/cloudera* /var/cache/yum/x86_64/6/cloudera* /var/log/cloudera* /var/run/cloudera* /etc/cloudera* /tmp/.scm_prepare_node.lock /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 /var/lib/alternatives/avro-tools /var/lib/alternatives/beeline /var/lib/alternatives/catalogd /var/lib/alternatives/cli_* /var/lib/alternatives/flume* /var/lib/alternatives/hadoop* /var/lib/alternatives/hbase* /var/lib/alternatives/hcat /var/lib/alternatives/hdfs /var/lib/alternatives/hive* /var/lib/alternatives/hue* /var/lib/alternatives/impala* /var/lib/alternatives/llama* /var/lib/alternatives/load_gen /var/lib/alternatives/mahout* /var/lib/alternatives/mapred /var/lib/alternatives/oozie* /var/lib/alternatives/pig* /var/lib/alternatives/pyspark /var/lib/alternatives/sentry* /var/lib/alternatives/solr* /var/lib/alternatives/spark* /var/lib/alternatives/sqoop* /var/lib/alternatives/statestored /var/lib/alternatives/whirr /var/lib/alternatives/yarn  /var/lib/alternatives/zookeeper* /etc/flume-ng /etc/hadoop* /etc/hbase* /etc/hive* /etc/hue /etc/pig /etc/sentry /etc/solr /etc/spark /etc/sqoop* /etc/zookeeper* /etc/alternatives/avro-tools /etc/alternatives/beeline /etc/alternatives/catalogd /etc/alternatives/cli_* /etc/alternatives/flume* /etc/alternatives/hadoop* /etc/alternatives/hbase* /etc/alternatives/hcat /etc/alternatives/hdfs /etc/alternatives/hive* /etc/alternatives/hue* /etc/alternatives/impala* /etc/alternatives/llama* /etc/alternatives/load_gen /etc/alternatives/mahout* /etc/alternatives/mapred /etc/alternatives/oozie* /etc/alternatives/pig* /etc/alternatives/pyspark /etc/alternatives/sentry* /etc/alternatives/solr* /etc/alternatives/spark* /etc/alternatives/sqoop* /etc/alternatives/statestored /etc/alternatives/whirr /etc/alternatives/yarn /etc/alternatives/zookeeper* /opt/cloudera/ /var/log/hive /var/log/hbase /var/log/hadoop* /var/log/zookeeper  /dfs /mapred  /yarn 

sudo rm -rf /tmp/.scm_prepare_node.lock

删数据库

Docker容器初学笔记整理 Golang

Docker容器初学笔记整理

“Docker是一个开源的应用容器引擎”,这个概念解释说了等于没说。其实就是个虚拟机,如果我们用过类似VMware这样的虚拟机软件就知道了,在windows上可以跑Linux、mac,反过来也可以。但...