Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Is there any way to uninstall CDH4.4 installed using cloudera manager?

avatar
New Contributor

There should have been some problem at the end of the installation and it seems there is no way to solve it except reinstalling the linux.

It was installed over Centos 6.4  (64 bits).

 

Thanks in advance.

 

jalonso.n@gmail.com

1 ACCEPTED SOLUTION

avatar
New Contributor

Hello Jalonso,

 

Following are steps that we usually use to uninstall. This may be little different for you depending on the ecosystem that you are using.
- Stop all services. You can do that manually or use the following:
 $ for s in `cd /etc/init.d ; ls hadoop-*` ; do sudo service $s stop ; done
- If you choose to stop services manually then follow following order Hue, Sqoop, Flume, Oozie, Hive, HBase, MapRed, Yarn, HttpFS, HDFS and lastly Zookeeper.
- Then you can use following command to remove your environment specific components:
 sudo yum remove hue
 sudo yum remove pig
 sudo yum remove sqoop
 sudo yum remove flume
 sudo apt-get purge hive hive-metastore hive-server hive-server2
 sudo apt-get purge hadoop-hbase
 sudo apt-get purge hadoop-zookeeper-server
 sudo apt-get purge hadoop-zookeeper
 sudo apt-get purge hadoop-hdfs-zkfc
 apt-get purge hadoop-hdfs-hadoop-hdfs-journalnode
 sudo apt-get purge hadoop-httpfs
 sudo apt-get purge hadoop-0.20
- Post above steps you will have to clean up log files, config files, hue databases manually.

 

Hope that helps.

View solution in original post

2 REPLIES 2

avatar
New Contributor

Hello Jalonso,

 

Following are steps that we usually use to uninstall. This may be little different for you depending on the ecosystem that you are using.
- Stop all services. You can do that manually or use the following:
 $ for s in `cd /etc/init.d ; ls hadoop-*` ; do sudo service $s stop ; done
- If you choose to stop services manually then follow following order Hue, Sqoop, Flume, Oozie, Hive, HBase, MapRed, Yarn, HttpFS, HDFS and lastly Zookeeper.
- Then you can use following command to remove your environment specific components:
 sudo yum remove hue
 sudo yum remove pig
 sudo yum remove sqoop
 sudo yum remove flume
 sudo apt-get purge hive hive-metastore hive-server hive-server2
 sudo apt-get purge hadoop-hbase
 sudo apt-get purge hadoop-zookeeper-server
 sudo apt-get purge hadoop-zookeeper
 sudo apt-get purge hadoop-hdfs-zkfc
 apt-get purge hadoop-hdfs-hadoop-hdfs-journalnode
 sudo apt-get purge hadoop-httpfs
 sudo apt-get purge hadoop-0.20
- Post above steps you will have to clean up log files, config files, hue databases manually.

 

Hope that helps.

avatar
New Contributor

That's enough.

 

Thanks a lot.