Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
0.20.0
-
None
-
None
Description
The current HRS implementation is a mess, especially after ZooKeeper additions to handle Session Expired events. See HBASE-1311.
It contains logic to restart itself which caused a lot of fields to be non-final that can be. It should be split out to two separate class, one that runs HRS duties and one that watches over the first in a join/restart loop. Using this means a special event like a ZooKeeper Session Expired wouldn't require special restart code, just an abort. The new wrapper class will handle restarting.