[ 
https://issues.apache.org/jira/browse/HBASE-5277?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

stack updated HBASE-5277:
-------------------------

    Attachment: 5277v1.txt

Move RegionState out into its own package private class.  Make new 
datastructure ServersAndRegions that manages the servers to regions and regions 
to servers Maps.

Not done yet.  Cuts AM by 1k lines or about 8%.  More to do.
                
> Put AssignmentManager on a diet
> -------------------------------
>
>                 Key: HBASE-5277
>                 URL: https://issues.apache.org/jira/browse/HBASE-5277
>             Project: HBase
>          Issue Type: Task
>            Reporter: stack
>         Attachments: 5277v1.txt
>
>
> AM has five or six inner classes, it takes zk callbacks, it has distinct Maps 
> that are supposed to be edited together (regions and servers) and that then 
> have some interaction w/ notion of regionsInTransition, etc.  It could do w/ 
> a tune-up so it comes back into the realm of the penetrable (currently I'd 
> not be surprised if its workings were beyond the ken of all who here code). 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to