hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amith D K <amit...@huawei.com>
Subject RE: Hadoop removal
Date Fri, 06 Jul 2012 09:29:24 GMT
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.hadoop@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_shukla@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.hadoop@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.
>
Mime
View raw message