hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 张铎(Duo Zhang) <palomino...@gmail.com>
Subject Re: Upgrade from 2.1.4 to 2.2.3 without 2.1.4 binary
Date Wed, 04 Mar 2020 00:08:48 GMT
The key point is to make sure that you do not have running procedures when
stopping the 2.1.4 cluster. This can be done by checking the master page.
And if there are unsupported procedures when starting 2.2.3, the master
will just quit without doing any damages so it is fine to just roll back to

Removing the master proc WAL directory is a possible way to make sure the
master for 2.2.3 can be up normally, but maybe you need to make use of
HBCK2 to fix the cluster if you removed some important procedures such as

Andrey Elenskiy <andrey.elenskiy@arista.com.invalid>于2020年3月4日 周三07:37写道:

> Hello,
> We'd like to upgrade to from 2.1.4 to hbase 2.2.3 however we are shipping
> hbase along with our software on a regular schedule. Each upgrade of our
> software requires starting and stopping entire stack (hbase included), so
> we are fine with downtime. The following guide (
> https://hbase.apache.org/book.html#upgrade2.2) seems to be tailored
> towards
> zero-time upgrades and requires 2.1 version of hbasemaster doing the
> draining of region procedures while regionservers are online before
> starting 2.2 hbasemaster.
> That process seems to be non trivial to automate in our declarative init
> system and requires shipping entire old hbase version for just an upgrade.
> I was wondering if there are any alternatives if we are ok with downtime.
> Couple ideas:
> 1. Apply the patch (
> https://issues.apache.org/jira/secure/attachment/12944775/0001-HBASE-21075-Confirm-that-we-can-rolling-upgrade-from.patch
> )
> to hbase 2.2. I'd prefer to not do it as we have to compile hbase ourselves
> (which we already do, but it seems like throwaway work).
> 2. Delete MasterProcWALs directory after stopping entire hbase and before
> starting new hbase 2.2 master
> Any other suggestions?
> Andrey

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message