Thanks John! I do stop-hbase.sh usually byt when I check jps in the
regionservers, I see that HRegionServer process is still running. I am not
sure if it automatically shuts down after some time though.

hari


On Mon, Nov 8, 2010 at 10:09 PM, Jonathan Gray <[email protected]> wrote:

> Hari,
>
> When you issue a shutdown to the master process, it performs a full cluster
> shutdown.  You don't have to issue regionserver stops from the shell, the
> Master takes care of it over RPC.
>
> You can stop an individual regionserver (bin/hbase-daemon.sh stop
> regionserver) but if you're doing a full shutdown, it's best to do it
> through the master shutdown (bin/stop-hbase.sh).
>
> JG
>
> > -----Original Message-----
> > From: Hari Sreekumar [mailto:[email protected]]
> > Sent: Monday, November 08, 2010 7:57 AM
> > To: [email protected]
> > Subject: Re: Regionserver not shutting down automatically
> >
> > Hi Mike,
> >            I am using hbase-0.20.6 apache version. In fact I just
> > checked
> > the sources in trunk - stop-hbase.sh (
> > http://svn.apache.org/repos/asf/hbase/trunk/bin/stop-hbase.sh) has no
> > mention of regionservers whereas start-hbase.sh (
> > http://svn.apache.org/repos/asf/hbase/trunk/bin/start-hbase.sh) does
> > have
> > code to start regionservers. Is it not supposed to be stopped in that
> > way?
> >
> > hari
> >
> > On Mon, Nov 8, 2010 at 8:53 PM, Michael Segel
> > <[email protected]>wrote:
> >
> > >
> > > Hari,
> > >
> > > First, which version are you running?
> > > If you're running Cloudera's CDH3, then you don't want to use the
> > > start/stop HBase or Hadoop scripts.
> > >
> > > The second thing is to check your regionservers file on your HBase
> > Master
> > > node. If there are no servers listed, it won't work.
> > >
> > > HTH
> > >
> > > -Mike
> > >
> > >
> > > > Date: Mon, 8 Nov 2010 16:34:04 +0530
> > > > Subject: Regionserver not shutting down automatically
> > > > From: [email protected]
> > > > To: [email protected]
> > > >
> > > > Hi,
> > > >
> > > >    I have seen that the *stop-hbase.sh* script does not
> > > > execute*hbase-daemons.sh stop regionservers
> > > > *, although it does stop the master and zookeeper. Is this
> > intentional?
> > > Why
> > > > is it? Won't it create any problems if I forget to stop all
> > regionservers
> > > > and restart hbase before they get killed?
> > > >
> > > > Thanks,
> > > > Hari
> > >
> > >
>

Reply via email to