Home > Database > Mysql Tutorial > body text

Cloudera CDH4卸载

WBOY
Release: 2016-06-07 16:30:06
Original
1224 people have browsed it

记录卸载过程和问题。现有环境Cloudera Manager + (1 + 2 )的CDH环境。 1、先在Manage管理端移除所有服务。 2、删除Manager Server 在Manager节点运行 $ sudo /usr/share/cmf/uninstall-cloudera-manager.sh 如果没有该脚本,则可以手动删除,先停止服务: s

记录卸载过程和问题。现有环境Cloudera Manager + (1 + 2 )的CDH环境。

1、先在Manage管理端移除所有服务。
2、删除Manager Server
在Manager节点运行

$ sudo /usr/share/cmf/uninstall-cloudera-manager.sh
Copy after login

如果没有该脚本,则可以手动删除,先停止服务:

sudo service cloudera-scm-server stop
sudo service cloudera-scm-server-db stop
Copy after login

然后删除:

sudo yum remove cloudera-manager-server
sudo yum remove cloudera-manager-server-db
Copy after login

3、删除所有CDH节点上的CDH服务,先停止服务:

sudo service cloudera-scm-agent hard_stop
Copy after login

卸载安装的软件:

sudo yum remove 'cloudera-manager-*' hadoop hue-common 'bigtop-*'
Copy after login

4、删除残余数据:

sudo rm -Rf /usr/share/cmf /var/lib/cloudera* /var/cache/yum/cloudera*
Copy after login

5、kill掉所有Manager和Hadoop进程(选作,如果你正确停止Cloud Manager和所有服务则无须此步)

$ for u in hdfs mapred cloudera-scm hbase hue zookeeper oozie hive impala flume; do sudo kill $(ps -u $u -o pid=); done
Copy after login

6、删除Manager的lock文件
在Manager节点运行:

sudo rm /tmp/.scm_prepare_node.lock
Copy after login

至此,删除完成。
 

 

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!