Description
As discussed in comments to HBASE-10915, we need to have a proper way to retrieve instance of consensus provider, and Server interface seems the right one.
Since Server interface lives in hbase-client maven module, the following approach is implemented in this patch:
- hbase-client module has very basic (almost marker) interface ConsensusProvider to return instance of consensus provider from the Server
- hbase-server module has BaseConsensusProvider which defines the consensus interfaces
- Implementations shall subclass BaseConsensusProvider
- whoever wants to get ConsensusProvider from raw Server interface on hbase-server side, has to typecast: (BaseConsensusProvider)
Attachments
Attachments
Issue Links
- is required by
-
HBASE-10915 Decouple region closing (HM and HRS) from ZK
- Closed
-
HBASE-10962 Decouple region opening (HM and HRS) from ZK
- Closed
-
HBASE-10985 Decouple Split Transaction from Zookeeper
- Closed
-
HBASE-11069 Decouple region merging from ZooKeeper
- Closed
-
HBASE-11108 Split ZKTable into interface and implementation
- Closed