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-10915) Decouple region closing from ZooKeeper
Date Thu, 10 Apr 2014 21:30:19 GMT

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

Mikhail Antonov commented on HBASE-10915:
-----------------------------------------

I guess I shall give some explanation as to why the CloseRegionDetails are being passed around.
The thing is that the instance of handler class is created for each task being submitted to
executors, and relevant fields are carried in the object fields. Yet for consensus, I don't
want to create new consensus for each Executors tasks submitted, yet I'd prefer it to be stateless.
So by passing around the encapsulated details object we can  avoid keeping much state in the
consensus (keeping in mind that for the Paxos case, or Raft case, consensus class would encapsulate
the details which are now kept in ZooKeeper in in memory data structures).

> Decouple region closing from ZooKeeper
> --------------------------------------
>
>                 Key: HBASE-10915
>                 URL: https://issues.apache.org/jira/browse/HBASE-10915
>             Project: HBase
>          Issue Type: Sub-task
>          Components: Zookeeper
>            Reporter: Mikhail Antonov
>            Assignee: Mikhail Antonov
>         Attachments: HBASE-10915.patch, HBASE-10915.patch, HBASE-10915.patch, HBASE-10915.patch,
HBASE-10915.patch, HBASE-10915.patch
>
>
> Decouple CloseRegionHandler class and code using it (HRegionServer, ProtobufUtil) from
ZK API.



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

Mime
View raw message