hbase-how to know which regionservers are stuck when shutdown a cluster
u know,when u shutdowning a hbase cluster,sometimes it costs very long time to complete.and now how to fiind what regionservers are kept on alive is simple and directly by following these steps:
1.run shutdown shell stop-hbase.sh
2.issue zk-client zkCli.sh
3.run command 'ls /hbase/rs'
then u can see some unnormal RSs are lied there,so u can goto that and check the logs
some clues
for a online cluster,it is always to avoid causing too long time to complete shutdowning,as this will lead the clients cost much time to get responses,so u can :
1.flush all the regions in this cluster
2.shutdown
this will decrease reasonablely the shutdown time then use 'shutdwon without flushing previously'