[ 
https://issues.apache.org/jira/browse/HBASE-11092?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13984808#comment-13984808
 ] 

Sergey Soldatov commented on HBASE-11092:
-----------------------------------------

The problem is that the Server interface is defined in hbase-client module, but 
most of consensuses requre classes from hbase-server module. One of the 
possible options is to define a basic consensus provider with default 
start/stop/init methods in the hbase-client module and subclass with all 
required consensus getters in hbase-server module and use explicit cast to this 
subclass when it's require. 

> Server interface should have method getConsensusProvider()
> ----------------------------------------------------------
>
>                 Key: HBASE-11092
>                 URL: https://issues.apache.org/jira/browse/HBASE-11092
>             Project: HBase
>          Issue Type: Sub-task
>          Components: Consensus
>    Affects Versions: 0.99.0
>            Reporter: Mikhail Antonov
>            Assignee: Mikhail Antonov
>             Fix For: 0.99.0
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to