If you mean events related to region transition, to my knowledge, there is no much notification.
You need to poll cluster status. > On Sep 1, 2015, at 7:46 PM, James Teng <[email protected]> wrote: > > Can we register any observer or listener for related events? so we can > customize some actions when the cluster is up. > > uknow. > ________________________________________ > From: Ted Yu <[email protected]> > Sent: Tuesday, September 1, 2015 2:37 PM > To: [email protected] > Subject: Re: How to detect whether hbase cluster is up and ready for > accepting requests. > > Looks like the link Samir shared is missing the following method: > > public Map<String, RegionState> getRegionsInTransition() { > > FYI > >> On Tue, Sep 1, 2015 at 5:28 AM, Samir Ahmic <[email protected]> wrote: >> >> Hi, >> Depending on your hbase version you can get ClusterStatus over api. >> >> https://hbase.apache.org/apidocs/org/apache/hadoop/hbase/ClusterStatus.html >> >> Regards >> Samir >> >> On Tue, Sep 1, 2015 at 2:03 PM, James Teng <[email protected]> >> wrote: >> >>> Just as mentioned in the subject, is there any api to detect whether >>> cluster is up, all regions are opened and ready for requests? >>> >>> >>> >>> uknow. >>
