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

Sergey Shelukhin commented on HBASE-5487:
-----------------------------------------

I would like to resurrect this issue (and rename it). It seems that every fix 
to assignmentmanager introduces 1-3 more maps or lists around it, makes it even 
more impossible to comprehend and may add more bugs.

We have talked a little bit here, and agreed on 2 key points.
1) Region state should be managed in one permanent place with one state 
machine; no separate and/or transient state machines, no operation-based state 
machines.
2) New assignment manager should be easily testable by simulating sequences in 
events.
I think my doc above is still reasonably good approximation, but of course we 
might need to discuss flesh out the details.

Ahem. I said new assignment manager, that is because I would like to rename 
this jira "rewrite assignment manager".
Wdyt? [~enis] [~jxiang] [[email protected]] [~ndimiduk] [~jmhsieh]


> Generic framework for Master-coordinated tasks
> ----------------------------------------------
>
>                 Key: HBASE-5487
>                 URL: https://issues.apache.org/jira/browse/HBASE-5487
>             Project: HBase
>          Issue Type: New Feature
>          Components: master, regionserver, Zookeeper
>    Affects Versions: 0.94.0
>            Reporter: Mubarak Seyed
>            Priority: Critical
>         Attachments: Region management in Master.pdf
>
>
> Need a framework to execute master-coordinated tasks in a fault-tolerant 
> manner. 
> Master-coordinated tasks such as online-scheme change and delete-range 
> (deleting region(s) based on start/end key) can make use of this framework.
> The advantages of framework are
> 1. Eliminate repeated code in Master, ZooKeeper tracker and Region-server for 
> master-coordinated tasks
> 2. Ability to abstract the common functions across Master -> ZK and RS -> ZK
> 3. Easy to plugin new master-coordinated tasks without adding code to core 
> components



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to