You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by zh...@apache.org on 2023/04/05 15:30:48 UTC
[hbase] branch master updated: HBASE-27662 Correct the line logged with flag hbase.procedure.upgrade-to-2-2 in docs (#5159)
This is an automated email from the ASF dual-hosted git repository.
zhangduo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/master by this push:
new f27823e62dd HBASE-27662 Correct the line logged with flag hbase.procedure.upgrade-to-2-2 in docs (#5159)
f27823e62dd is described below
commit f27823e62ddea58e827f68bb75289dbe13a1bd37
Author: Yash Dodeja <ya...@yahoo.com>
AuthorDate: Wed Apr 5 21:00:40 2023 +0530
HBASE-27662 Correct the line logged with flag hbase.procedure.upgrade-to-2-2 in docs (#5159)
Signed-off-by: Duo Zhang <zh...@apache.org>
---
src/main/asciidoc/_chapters/upgrading.adoc | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/main/asciidoc/_chapters/upgrading.adoc b/src/main/asciidoc/_chapters/upgrading.adoc
index cf9d76aa35c..83030cc5038 100644
--- a/src/main/asciidoc/_chapters/upgrading.adoc
+++ b/src/main/asciidoc/_chapters/upgrading.adoc
@@ -377,11 +377,15 @@ And there is a more safer way if you are running 2.1.1+ or 2.0.3+ cluster. It ne
. Shutdown both active and standby Masters (Your cluster will continue to server reads and writes without interruption).
. Set the property hbase.procedure.upgrade-to-2-2 to true in hbase-site.xml for the Master, and start only one Master, still using the 2.1.1+ (or 2.0.3+) version.
-. Wait until the Master quits. Confirm that there is a 'READY TO ROLLING UPGRADE' message in the Master log as the cause of the shutdown. The Procedure Store is now empty.
+. Wait until the Master quits. Confirm that there is a 'UPGRADE OK: All existed procedures have been finished, quit...' message in the Master log as the cause of the shutdown. The Procedure Store is now empty.
. Start new Masters with the new 2.2+ version.
Then you can rolling upgrade RegionServers one by one. See link:https://issues.apache.org/jira/browse/HBASE-21075[HBASE-21075] for more details.
+In case these steps are not done, on starting 2.2+ master, you would see the following exception in the master logs:
+
+`org.apache.hadoop.hbase.HBaseIOException: Unsupported procedure type class org.apache.hadoop.hbase.master.assignment.UnassignProcedure found`
+
[[upgrade2.0]]
=== Upgrading from 1.x to 2.x