Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Uninstall CDH5.10.0

2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

Each node in the cluster performs:

stop service

service cloudera-scm-server stop

service cloudera-scm-agent stop

Uninstall the installation package

yum remove -y cloudera*

yum clean all

Or:

for f in `rpm -qa | grep cloudera`; do rpm -e ${f} ; done

#kill related hadoop component process

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

#Kill supervisor process

kill -9 $(pgrep -f supervisord)

uninstall/var/run/cloudera-scm-agent/process

umount cm_processes

delete files

rm -rf /etc/cloudera* /usr/share/cmf /var/log/cloudera* /var/lib/cloudera* /var/run/cloudera* /var/run/hadoop* /var/run/hdfs* /var/cache/yum/x86_64/6/cloudera*

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

rm -rf /var/lib/alternatives/beeline /var/lib/alternatives/flume* /var/lib/alternatives/hadoop* /var/lib/alternatives/hbase* /var/lib/alternatives/hdfs* /var/lib/alternatives/hive* /var/lib/alternatives/impala* /var/lib/alternatives/oozie* /var/lib/alternatives/pig* /var/lib/alternatives/spark* /var/lib/alternatives/mapred* /var/lib/alternatives/sqoop* /var/lib/alternatives/yarn* /var/lib/alternatives/zookeeper* /var/lib/alternatives/hue* /var/lib/alternatives/solr* /var/lib/alternatives/hcat*

rm -rf /usr/bin/hadoop* /usr/bin/zookeeper* /usr/bin/hbase* /usr/bin/hive* /usr/bin/hdfs /usr/bin/mapred /usr/bin/yarn /usr/bin/sqoop* /usr/bin/oozie

rm -rf /etc/hadoop* /etc/zookeeper* /etc/hive* /etc/hue /etc/impala /etc/sqoop* /etc/oozie /etc/hbase* /etc/hcatalog

rm -rf /tmp/.scm_prepare_node.lock /tmp/cmflistener-std*

rm -rf /dfs /yarn

rm -rf /opt/cloudera/parcel-cache /opt/cloudera/parcels /opt/cloudera/parcel-repo

Clear database data:

drop database cmf;

drop database amon;

drop database hive;

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 273

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report