본문 바로가기

Monitoring Tools/Pinpoint

10. [오류 수정] hbase Session expire로 shutdown 되는 현상

반응형
[root@localhost logs]# pwd
/usr/local/pinpoint/hbase/hbase-1.2.7/logs
 
[root@localhost logs]# vim hbase-root-master-localhost.localdomain.log
 
 
2020-06-18 13:53:27,110 WARN [localhost:42126.activeMasterManager-EventThread] client.ConnectionManager$HConnectionImplementation: This client just lost it's session with ZooKeeper, closing it. It will be recreated next time someone needs it
org.apache.zookeeper.KeeperException$SessionExpiredException: KeeperErrorCode = Session expired
at org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher.connectionEvent(ZooKeeperWatcher.java:702)
at org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher.process(ZooKeeperWatcher.java:613)
at org.apache.zookeeper.ClientCnxn$EventThread.processEvent(ClientCnxn.java:522)
at org.apache.zookeeper.ClientCnxn$EventThread.run(ClientCnxn.java:498)
 
 
## 다음과 같이 수정
[root@localhost conf]# pwd
/usr/local/pinpoint/hbase/hbase-1.2.7/conf
[root@localhost conf]# vim hbase-site.xml
  <property>
    <name>zookeeper.session.timeout</name>
    <value>120000</value>
  </property>
 
## gc 시간이 zookeeper 연결의 최대 제한 시간을 초과하면 hbase가 정지됨.
반응형