Stating the obvious you just need to restart the RegionServer because it shut down. We use ZooKeeper for tracking server liveness and from the ZooKeeper perspective a sufficiently long time elapsed without heartbeat such that the RegionServer's session expired. We've left this option to date to the user to do with supervisory scripts, e.g. Puppet / Chef / Daemontools. I suppose a RegionServer could try and reinitialize as a new process or the ./bin/hbase script could do this if you ask.
On Tue, Jun 3, 2014 at 2:46 PM, Cosmin Lehene <[email protected]> wrote: > I just realized that, for years, I've been countlessly restarted hbase > every time my laptop gets out of standby. > I know well why I do this, but I also know I could probably not do it and > that I don't have to do with Hadoop or Zookeeper or other services and I > wish I wouldn't need to with Hbase either. > > So short term, I'd like to know if there a better way already. > > Long term I think this is a bigger, more fundamental resiliency aspect > that perhaps is not trivial, but probably worth thinking about in the real > deployments context and I wonder if there's something that tries to solve > this already. > > Thoughts? > > Thanks, > Cosmin > -- Best regards, - Andy Problems worthy of attack prove their worth by hitting back. - Piet Hein (via Tom White)
