Support Questions
Find answers, ask questions, and share your expertise

Hbase Region Server shutting down with ZooKeeper SessionExpiredException

Hi Everyone,

We are getting below exception.

org.apache.zookeeper.KeeperException$SessionExpiredException: KeeperErrorCode = Session expired

After that Region Server is shutting down. According to technical notes, the problem occurs because of a garbage collector pause time.

gc-log.pdf is the gc stats before shutting down. We have long gc pauses and it happens very often.

The reason is specifically in the young generation gc. So we decrease the young generation heap to 2500 mb. And also added below gc parameters but it didn't solve our problem.


What steps do I take to solve this?




This question has been answered in this community before, please search for the same.

Also have a look at

Thanks for the response but like I said on my question, I read the similar problems and solution is the tuning gc.

I didn't find any context that resolves the region server gc pause problem.

New Contributor

Any update on this ? Can anyone please check and provide ?

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.