Refactor HRS
------------
Key: HBASE-1406
URL: https://issues.apache.org/jira/browse/HBASE-1406
Project: Hadoop HBase
Issue Type: Improvement
Components: regionserver
Affects Versions: 0.20.0
Reporter: Nitay Joffe
Fix For: 0.21.0
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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.