You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2010/09/01 01:54:55 UTC

[jira] Updated: (HBASE-2692) Master rewrite and cleanup for 0.90

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

stack updated HBASE-2692:
-------------------------

    Attachment: 2692.patch

Here's the patch I committed.

Here's a bit of a change log:

{code}
HBASE-2692 Master rewrite and cleanup for 0.90

Patch brought over from 0.90_master_rewrite branch.

Replication test is broke as are some of the rest tests.
Others should be passing.

Some of the changes made in this fat patch:

+ In HLogKey, we now use encoded region name instead of full region name.
+ On split, daughters are opened on the parent's regionserver; let the new balancer
sort them out later when it cuts in.
+ Added move region from one server to another as well as enable/disable balancer.
+ All .META. and -ROOT- edits go via new *Editor and *Reader classes -- no more
do we have 5 different ways of reading and editing .META.
+ Rather than 3 different listeners to hlog each w/ own way of listening, instead
we only have WALObserver now.
+ New Server Interface that has whats common to HMaster and RegionServer. Also
new Services Interface.  This should make test writing cleaner making it so
less need of full cluster context testing anything -- e.g. the new
Interfaces are good w/ Mockito.
+ New balacner that runs on a period and takes into consideration all load
across cluster.
+ Table online/offline is now a flag in ZK; the offline flag on a region is
just used splitting from here on out.
+ Moved fixup of failed add of daughter edits to .META. into shutdown server
recover code (It used to be in basescanner).
+ The heartbeat now sends master the regionserver load and is used sending
shutdown message from master to regionserver ONLY; all other messages are
via zk (HMsg is pretty bare now).
+ No more Worker in RS and ToDoQueue in master.  Both in master and regionserver
we use handlers instead run out of Executors.
+ Client can not send split, flush, compact direct to RS; no longer does
it go via master.
+ Server shutdown runs differently now. All are watching a flag in zk.
When RS notices its gone, it closes all user-space regions. If thats all
it was carrying, then it goes down.  Otherwise, waits on master to send
the shutdown msg via heartbeat.

{code}

> Master rewrite and cleanup for 0.90
> -----------------------------------
>
>                 Key: HBASE-2692
>                 URL: https://issues.apache.org/jira/browse/HBASE-2692
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Jonathan Gray
>            Assignee: Jonathan Gray
>            Priority: Blocker
>             Fix For: 0.90.0
>
>         Attachments: 2692.patch, BRANCH_NOTES.txt
>
>
> This is the parent issue for master changes targeted at 0.90 release.
> Changes done as part of this issue grew out of work done over in HBASE-2485 to move region transitions into ZK.
> In addition to that work, this issue will include general HMaster and ZooKeeper refactorings and cleanups.

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