Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-22938

Fold all the system tables to hbase:meta

    XMLWordPrintableJSON

    Details

    • Type: Brainstorming
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Quote my post on HBASE-15867 here, on how to deal with the dead lock when we want to store replication queues to hbase:replication table.

      We could add a special prefix in the row key for different system tables, and make a special family for it. For example, for all the records in hbase:acl, we could introduce a prefix like ':::acl:::', since we do not allow ':' in either namespace or table name, so it will not conflict with the existing table related records. And the family could be namd as 'acl'.

      And we could make a special split policy that only splits at these special prefixs, so it will not break any assumptions so far, as all the records for the 'system table' are in the same region.

      And I think there are also other advantages, for example the start up logic can be greatly simplified.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              zhangduo Duo Zhang
            • Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

              • Created:
                Updated: