hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-18511) Default no regions on master
Date Mon, 14 Aug 2017 23:57:00 GMT

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

stack updated HBASE-18511:
    Hadoop Flags: Incompatible change
    Release Note: 
Changes the configuration hbase.balancer.tablesOnMaster from list of table names that the
can carry (with 'none' meaning no tables on the master) to instead be a boolean that is set
to true if master carries tables/regions and false if it does not. If true, the master acts
like any regionserver.

If false, then the master carries no tables. This is the default for hbase-2.0.0.

Another boolean configuration, hbase.balancer.tablesOnMaster.systemTablesOnly, when set to
true, enables hbase.balancer.tablesOnMaster and makes it so the master hosts system tables
exclusively (the long-time deploy mode of master branch and branch-2 up until this commit).

.007 changes hbase.balancer.tablesOnMaster to be boolean. If enabled, master is like any other
regionserver. If false -- the default -- then the master carries no tables. A new config,
hbase.balancer.tablesOnMaster.systemTablesOnly, when enabled makes it so master carries system

Adds a test that tries the three configs along w/ some master killing to make sure the deploy-type
prevails past master kill.

A bunch of other tests are changed. The old deploy mode of master exclusively carrying system
tables was around so long, a bunch of tests came to depend on this layout. Coarse test changes
were made so deal w/ the new deploy mode. For a few tests, they don't make sense in the new
deploy mode.

[~zyork] You ok w/ this sir?

Anyone up for a review? This is last one before alpha2. Thanks.

> Default no regions on master
> ----------------------------
>                 Key: HBASE-18511
>                 URL: https://issues.apache.org/jira/browse/HBASE-18511
>             Project: HBase
>          Issue Type: Task
>          Components: master
>            Reporter: stack
>            Assignee: stack
>            Priority: Blocker
>             Fix For: 2.0.0
>         Attachments: HBASE-18511.master.001.patch, HBASE-18511.master.002.patch, HBASE-18511.master.003.patch,
HBASE-18511.master.004.patch, HBASE-18511.master.005.patch, HBASE-18511.master.006.patch,
> Let this be umbrella issue for no-regions-on-master as default deploy (as it was in branch-1).
> Also need to make sure we can run WITH regions on master; in particular system tables
with RPC short-circuit as it is now in hbase master.
> Background is that master branch carried a change that allowed Master carry regions.
On top of this improvement on branch-1, Master defaulted to carry system tables only. No release
was made with this configuration. Now we are going to cut the 2.0.0 release, the decision
is that hbase-2 should have the same layout as hbase-1 so this issue implements the undoing
of Master carrying system tables by default (though the capability remains).

This message was sent by Atlassian JIRA

View raw message