Support Questions
Find answers, ask questions, and share your expertise
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

HBase region server crashing


HBase region server crashing


In one of our clusters hbase region servers crash with what appears to be a zookeeper error - relevant region server and zookeeper logs below :

region server log :

2018-01-24 10:26:56,669 WARN [regionserver60020] zookeeper.RecoverableZooKeeper: Possibly transient ZooKeeper, quorum=host02.domain.local:2181,host01.domain.local:2181,host04.domain.local:2181, exception=org.apache.zookeeper.KeeperException$SessionExpiredException: KeeperErrorCode = Session expired for /hbase/rs/host09.domain.local,60020,1516733354773 2018-01-24 10:26:56,669 ERROR [regionserver60020] zookeeper.RecoverableZooKeeper: ZooKeeper delete failed after 4 attempts 2018-01-24 10:26:59,316 WARN [regionserver60020] regionserver.HRegionServer: Failed deleting my ephemeral node org.apache.zookeeper.KeeperException$SessionExpiredException: KeeperErrorCode = Session expired for /hbase/rs/host09.domain.local,60020,1516733354773 at org.apache.zookeeper.KeeperException.create( at org.apache.zookeeper.KeeperException.create( at org.apache.zookeeper.ZooKeeper.delete( at org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper.delete( at org.apache.hadoop.hbase.zookeeper.ZKUtil.deleteNode( at org.apache.hadoop.hbase.zookeeper.ZKUtil.deleteNode( at org.apache.hadoop.hbase.regionserver.HRegionServer.deleteMyEphemeralNode( at at 2018-01-24 10:27:02,727 INFO [regionserver60020] regionserver.HRegionServer: stopping server host09.domain.local,60020,1516733354773; zookeeper connection closed. 2018-01-24 10:27:02,727 INFO [regionserver60020] regionserver.HRegionServer: regionserver60020 exiting 2018-01-24 10:27:02,963 ERROR [main] regionserver.HRegionServerCommandLine: Region server exiting java.lang.RuntimeException: HRegionServer Aborted

Zookeeper log :

2018-01-24 10:26:41,250 - INFO[NIOServerCxn.Factory:] - Closed socket connection for client / (no session established for client) 2018-01-24 10:26:56,654 - ERROR [LearnerHandler-/] - Unexpected exception causing shutdown while sock still open Read timed out at Method) at at at at at at org.apache.jute.BinaryInputArchive.readInt( at org.apache.zookeeper.server.quorum.QuorumPacket.deserialize( at org.apache.jute.BinaryInputArchive.readRecord( at 2018-01-24 10:26:56,654 - WARN [LearnerHandler-/] - ******* GOODBYE / ********

Appreciate any insights as to how to resolve this.


Re: HBase region server crashing


@ n c

Try this and see if it works

delete the below configuration from hbase-site: - hbase.bucketcache.ioengine - - hbase.bucketcache.size

Don't have an account?
Coming from Hortonworks? Activate your account here