You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Karthik Ranganathan (JIRA)" <ji...@apache.org> on 2010/06/24 20:40:51 UTC

[jira] Updated: (HBASE-2695) HMaster cleanup and refactor

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

Karthik Ranganathan updated HBASE-2695:
---------------------------------------

    Attachment: HBASE-2695-part1-masterstatus.patch

This adds an interface called MasterStatus and another called ServerStatus.

Right now, all methods of the HMaster used by other components live in one of the above interfaces. To make the review easier, this is a refactpr-only change. The following changes will actually work on the logic and hence be much more contained (read: easier to review).

> HMaster cleanup and refactor
> ----------------------------
>
>                 Key: HBASE-2695
>                 URL: https://issues.apache.org/jira/browse/HBASE-2695
>             Project: HBase
>          Issue Type: Sub-task
>          Components: master
>            Reporter: Jonathan Gray
>            Assignee: Karthik Ranganathan
>            Priority: Critical
>             Fix For: 0.21.0
>
>         Attachments: HBASE-2695-part1-masterstatus.patch
>
>
> Before doing the more significant changes to HMaster, it would benefit greatly from some cleanup, commenting, and a bit of refactoring.
> One motivation is to nail down the initialization flow and comment each step.  Another is to add a couple new classes to break up functionality into helpers to reduce HMaster size (for example, pushing all filesystem operations into their own class).  And lastly to stop the practice of passing around references to HMaster everywhere and instead pass along only what is necessary.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.