hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Antonov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-11025) Infrastructure for pluggable consensus service
Date Sun, 20 Apr 2014 04:12:19 GMT

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

Mikhail Antonov commented on HBASE-11025:
-----------------------------------------

Wouldn't it make more sense to pass in the actual provider instance instead of factory in
this case? As the caller of the constructor knows the Configuration object so it can instantiate
consensus provider.

Then within the constructor initialize / start methods may be called.

> Infrastructure for pluggable consensus service
> ----------------------------------------------
>
>                 Key: HBASE-11025
>                 URL: https://issues.apache.org/jira/browse/HBASE-11025
>             Project: HBase
>          Issue Type: Sub-task
>          Components: Zookeeper
>            Reporter: Mikhail Antonov
>            Assignee: Mikhail Antonov
>         Attachments: HBASE-11025.patch
>
>
> Related to HBASE-10915.
> In this jira I will extract the changed for property changes, factory and consensus provider
interface (+ZK implementation), as it's going to be required by other subtasks of HBASE-10909.



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

Mime
View raw message