Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HBASE-21533 Add a section in our ref guide for the folding(removal) o… #5787

Merged
merged 3 commits into from
Apr 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions src/main/asciidoc/_chapters/datamodel.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,23 @@ create 'bar', 'fam'
----
====

[[namespace_table]]
=== About hbase:namespace table
We used to have a system table called `hbase:namespace` for storing the namespace information.

It introduced some painful bugs in the past, especially that it may hang the master startup thus
hang the whole cluster. This is because meta table also has a namespace, so it depends on namespace
table. But namespace table also depends on meta table as meta table stores the location of all
regions. This is a cyclic dependency so sometimes namespace and meta table will wait for each other
to online and hang the master start up.

It is not easy to fix so in 3.0.0, we decided to completely remove the `hbase:namespace` table and
fold its content into the `ns` family in `hbase:meta` table. When upgrading from 2.x to 3.x, the
migration will be done automatically and the `hbase:namespace` table will be disabled after the
migration is done. You are free to leave it there for sometime and finally drop it.

For more tails, please see https://issues.apache.org/jira/browse/HBASE-21154[HBASE-21154].

== Table

Tables are declared up front at schema definition time.
Expand Down
3 changes: 3 additions & 0 deletions src/main/asciidoc/_chapters/upgrading.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,9 @@ Quitting...
The RegionServer Grouping feature has been reimplemented. See section
<<migrating.rsgroup>> in <<ops_mgt>> for more details.

The `hbase:namespace` table has been removed and fold into `hbase:meta`. See section
<<namespace_table>> in <<datamodel>> for more details.

[[upgrade2.4]]
There is no special consideration upgrading to hbase-2.4.x from 2.3.x. And for earlier versions,
just follow the <<upgrade2.3>> guide. In general, 2.2.x should be rolling upgradeable, for 2.1.x
Expand Down