Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have installed Hadoop-2.4.0 in my system(14.04), I want to remove it completely and reinstall it. If I have delete the configured folder hadoop, is it enough to remove hadoop in my Ubuntu 14.04 LTS.

share|improve this question

2 Answers 2

You can uninstall hadoop using:

sudo apt-get purge hadoop-2.4.*

This will remove all packages and configurations related to hadoop from your system.

share|improve this answer
    
It didn't worked.. actually I didn't installed my hadoop-2.4.0 from apt-get.. i hae manually installed and configured with this link –  ARUL May 9 at 7:31
up vote 1 down vote accepted

Actually I just delete the folder hadoop which given permission(shown below) to my HDFS user.

$ sudo rm -r -f /usr/local/hadoop/

Previously I extracted hadoop-2.4.0 and given permission for my HDFS user(hadoopuser - HDFS user),

$ sudo chown -R hadoopuser:hadoop hadoop

After that I removed user(hadoopuser) and group(hadoop)

root@ARUL-PC:~# deluser hadoopuser
Removing user `hadoopuser' ...
Warning: group `hadoop' has no more members.
Done.
root@ARUL-PC:~# deluser --group hadoop
Removing group `hadoop' ...
Done.

Now hadoop-2.4.0 not present in my system.

Note : In my system, configured hadoop folder is /usr/local/hadoop/.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.