Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to uninstall Cloudera CDH4

Shulou Source: shulou.com Published: 2022-05-31 12:14:24 10月03日 Update

The content of this article mainly focuses on how to uninstall Cloudera CDH4. The content of the article is clear and clear. It is very suitable for beginners to learn and is worth reading. Interested friends can follow the editor to read together. I hope you can get something through this article!

Record the uninstall process and problems. The CDH environment of the existing environment Cloudera Manager + (1 + 2).

1. First remove all services on the Manage management side.

2. Delete Manager Server

Run on the Manager node

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

If you do not have the script, you can delete it manually and stop the service first:

Sudo service cloudera-scm-server stopsudo service cloudera-scm-server-db stop

Then delete:

Sudo yum remove cloudera-manager-serversudo yum remove cloudera-manager-server-db

3. Delete the CDH service on all CDH nodes and stop the service first:

Sudo service cloudera-scm-agent hard_stop

Uninstall the installed software:

Sudo yum remove 'cloudera-manager-*' hadoop hue-common' bigtop-*'

4. Delete residual data:

Sudo rm-Rf / usr/share/cmf / var/lib/cloudera* / var/cache/yum/cloudera*

5. Kill drops all Manager and Hadoop processes (optional, this step is not required if you stop Cloud Manager and all services correctly)

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

6. Delete the lock file of Manager

Run on the Manager node:

Sudo rm / tmp/.scm_prepare_node.lock

At this point, the deletion is complete.

Thank you for your reading. I believe you have some understanding of "how to uninstall Cloudera CDH4". Go to practice quickly. If you want to know more about it, you can follow the website! The editor will continue to bring you better articles!

Tags: Services nodes content articles environment articles questions runs interests manual data files novice easy to understand more friends organization remnants knowledge knowledge points Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MariaDB vpn Shulou Technology macOS MySQL