Dont kill database servers with kill -9 :-) hbase-daemon.sh stop regionserver does a graceful shutdown, which can take a while as data is flushed.
there was a bug, which i indicated, which can prevent root/meta from being reassigned properly. a few other notes: - adding servers is easy, just start the new regionservers, you are set - removing is tricky since you have to wait for the flush to happen, and the bug in 1362. good luck! On Thu, May 14, 2009 at 3:03 AM, Ninad Raut <[email protected]>wrote: > Ryan, > Using bin/hbase-daemon.sh start regionserver and bin/hbase-daemon.sh stop > regionserver can we add/remove slave nodes when the cluster is live? > How to handle a region not serving exception? Because in this scenario the > daemon.sh script seems to go on forever? > We usually kill the HRegion process using kill -9, which causes loss of > data > if it is not flushed. > Regards, > Ninad > > On Thu, May 14, 2009 at 12:26 PM, Ryan Rawson <[email protected]> wrote: > > > There are tools: > > > > bin/start-hbase.sh > > bin/stop-hbase.sh > > > > starts/stops cluster. > > > > per node: > > bin/hbase-daemon.sh start regionserver > > bin/hbase-daemon.sh stop regionserver > > > > you might need HBASE-1362 however. > > > > On Wed, May 13, 2009 at 11:46 PM, Ninad Raut <[email protected] > > >wrote: > > > > > Hi, > > > I have been asekd to automate the following processes in HBase: > > > > > > - Script to add/remove regionservers and datanodes from a cluster > when > > > cluster is live > > > > > > > > > - Script to handle master node failure > > > - Script for graceful shutdown/startup of hbase > > > > > > Is there any adminsitration tool present for hbase. How can we use > Hadoop > > > On > > > Demand and/or zookeeper to make the cluster failure resistant. > > > Regards, > > > Ninad > > > > > >
