You can just execute command:
# stop-all.sh

Once all the processes stop, you can delete the folder containing hadoop. That 
should be it.

Thanks,
Sagar

-----Original Message-----
From: prabhu K [mailto:prabhu.had...@gmail.com]
Sent: Friday, July 06, 2012 6:18 PM
To: common-user@hadoop.apache.org
Subject: Re: Hadoop removal

Could you please some one help me on the in line issue?

On Fri, Jul 6, 2012 at 4:56 PM, prabhu K <prabhu.had...@gmail.com> wrote:

> yes, i have installed hadoop tar.gz,unzip tar.gz file and did the setup.
>
> i have run the ps -eaf | grep namenode command, its shown two procees
> id's are running, currently have two hadoop version installed on my
> machine in two different folders. in this case how can i uninstall one by one.
>
> please suggest on this issue
>  On Fri, Jul 6, 2012 at 2:59 PM, Amith D K <amit...@huawei.com> wrote:
>
>> I hope u have installed tar.gz binary distribution.
>>
>> If process is still running the use ps -eaf | grep
>> <namenode/datanode> to identify the process home.
>> After identifying the process home execte stop scripts and delete the
>> process home and reinstall a new distribution.
>>
>> Amith
>> ________________________________________
>> From: prabhu K [prabhu.had...@gmail.com]
>> Sent: Friday, July 06, 2012 4:31 PM
>> To: common-user@hadoop.apache.org
>> Subject: Re: Hadoop removal
>>
>> Thanks for the quick response,
>>
>> I have executed the # dpkg --list | grep hadoop command, i am not
>> getting anything.
>>
>> Please let me know how can i uninstall hadoop-0.20.204.0.tar.gz
>> existing version?
>>
>>
>> On Fri, Jul 6, 2012 at 1:52 PM, Sagar Shukla
>> <sagar_shu...@persistent.co.in>wrote:
>>
>> > Hi Prabhu,
>> >           Looking at the traces given, it appears that you
>> > installed hadoop by downloading the tar.gz file. Such a package
>> > cannot be
>> uninstalled
>> > / removed using apt-get command. Only if you have installed package
>> using
>> > "apt-get install <package>" then you can remove using same command.
>> >
>> > You can check if following command shows hadoop package installed:
>> > # dpkg --list | grep hadoop
>> >
>> > If you see some package in the output of this command then you
>> > should be able to remove it using apt-get command.
>> >
>> > Thanks,
>> > Sagar
>> >
>> > -----Original Message-----
>> > From: prabhu K [mailto:prabhu.had...@gmail.com]
>> > Sent: Friday, July 06, 2012 1:46 PM
>> > To: common-user@hadoop.apache.org
>> > Subject: Hadoop removal
>> >
>> > Hi User list,
>> >
>> > While I am trying to remove the hadoop version, i am getting
>> > following error.
>> >
>> > root@md-trngpoc1:/usr/local/hadoop_dir# sudo apt-get remove hadoop*
>> > Reading package lists... Done Building dependency tree Reading
>> > state information... Done
>> > E: Unable to locate package hadoop
>> > E: Unable to locate package hadoop-0.20.204.0.tar.gz
>> > E: Couldn't find any package by regex 'hadoop-0.20.204.0.tar.gz'
>> > root@md-trngpoc1:/usr/local/hadoop_dir# ls -lrt total 92080
>> > -rw-r--r--  1 root   root   94283331 2012-07-05 17:24
>> > hadoop-0.20.204.0.tar.gz
>> > drwxr-xr-x 18 hduser hadoop     4096 2012-07-05 20:31 hadoop
>> >
>> > Please help me on this issue?
>> >
>> > Thanks,
>> > Prabhu.
>> >
>> > DISCLAIMER
>> > ==========
>> > This e-mail may contain privileged and confidential information
>> > which is the property of Persistent Systems Ltd. It is intended
>> > only for the use
>> of
>> > the individual or entity to which it is addressed. If you are not
>> > the intended recipient, you are not authorized to read, retain,
>> > copy, print, distribute or use this message. If you have received
>> > this communication
>> in
>> > error, please notify the sender and delete all copies of this message.
>> > Persistent Systems Ltd. does not accept any liability for virus
>> > infected mails.
>> >
>>
>
>

DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the 
property of Persistent Systems Ltd. It is intended only for the use of the 
individual or entity to which it is addressed. If you are not the intended 
recipient, you are not authorized to read, retain, copy, print, distribute or 
use this message. If you have received this communication in error, please 
notify the sender and delete all copies of this message. Persistent Systems 
Ltd. does not accept any liability for virus infected mails.

Reply via email to