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

Hbase Region servers stops automatically

Hbase Region servers stops automatically

Contributor

Hi Team,

The region servers gets stopped automatically and it throws error. We have increased the maxClient Connections to 200 in zookeeper but still it is throwing errors.

Please help.

2016-10-19 02:01:04,905 INFO  [main-SendThread(host2.example.com:2181)] zookeeper.ClientCnxn: Unable to reconnect to ZooKeeper service, session 0x3579f98459f001c has expired, closing socket connection
2016-10-19 02:01:04,906 FATAL [main-EventThread] regionserver.HRegionServer: ABORTING region server host1.example.com,16020,1476372293108: regionserver:16020-0x3579f98459f001c, quorum=host1.example.com:2181,host2.example.com:2181,host3.example.com:2181, baseZNode=/hbase-secure regionserver:16020-0x3579f98459f001c received expired from ZooKeeper, aborting
org.apache.zookeeper.KeeperException$SessionExpiredException: KeeperErrorCode = Session expired
        at org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher.connectionEvent(ZooKeeperWatcher.java:613)
        at org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher.process(ZooKeeperWatcher.java:524)
        at org.apache.zookeeper.ClientCnxn$EventThread.processEvent(ClientCnxn.java:534)
        at org.apache.zookeeper.ClientCnxn$EventThread.run(ClientCnxn.java:510)

Thanks,

Rahul

2 REPLIES 2

Re: Hbase Region servers stops automatically

Can you check any of the 3 reasons mentioned here for session expiry?

https://community.hortonworks.com/questions/11779/hbase-master-shutting-down-with-zookeeper-delete-f...

Highlighted

Re: Hbase Region servers stops automatically

Expert Contributor

Hi Rahul,

You can add session timeout in your hbase-site.xml like this

      <property>
        <name>zookeeper.session.timeout</name>
        <value>60000</value>
      </property>

Hopping this help

Thanks,

Mahesh

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