Skip to content

Commit f27823e

Browse files
authored
HBASE-27662 Correct the line logged with flag hbase.procedure.upgrade-to-2-2 in docs (#5159)
Signed-off-by: Duo Zhang <[email protected]>
1 parent a363b76 commit f27823e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/main/asciidoc/_chapters/upgrading.adoc

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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
377377

378378
. Shutdown both active and standby Masters (Your cluster will continue to server reads and writes without interruption).
379379
. 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.
380-
. 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.
380+
. 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.
381381
. Start new Masters with the new 2.2+ version.
382382

383383
Then you can rolling upgrade RegionServers one by one. See link:https://issues.apache.org/jira/browse/HBASE-21075[HBASE-21075] for more details.
384384

385+
In case these steps are not done, on starting 2.2+ master, you would see the following exception in the master logs:
386+
387+
`org.apache.hadoop.hbase.HBaseIOException: Unsupported procedure type class org.apache.hadoop.hbase.master.assignment.UnassignProcedure found`
388+
385389
[[upgrade2.0]]
386390
=== Upgrading from 1.x to 2.x
387391

0 commit comments

Comments
 (0)