Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hadoop >> mail # user >> Hadoop removal


Copy link to this message
-
Re: Hadoop removal
that should not be any problem

just kill all the running hadoop processes

ps aux | grep -i hadoop | awk '{print $2}' | xargs sudo kill -9

this should kill all hadoop processes :)

On Fri, Jul 6, 2012 at 6:28 PM, prabhu K <[EMAIL PROTECTED]> wrote:

> unexpectedly with out stop-all.sh, i have deleted the folder, what should
> be the problem comes?
>
> On Fri, Jul 6, 2012 at 6:22 PM, Sagar Shukla
> <[EMAIL PROTECTED]>wrote:
>
> > 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:[EMAIL PROTECTED]]
> >  Sent: Friday, July 06, 2012 6:18 PM
> > To: [EMAIL PROTECTED]
> > 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 <[EMAIL PROTECTED]>
> 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 <[EMAIL PROTECTED]> 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 [[EMAIL PROTECTED]]
> > >> Sent: Friday, July 06, 2012 4:31 PM
> > >> To: [EMAIL PROTECTED]
> > >> 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
> > >> <[EMAIL PROTECTED]>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:[EMAIL PROTECTED]]
> > >> > Sent: Friday, July 06, 2012 1:46 PM
> > >> > To: [EMAIL PROTECTED]
> > >> > 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
> > >> >
>
Nitin Pawar
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB