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

Unsuccessful table creation leaves entry in hbase:rsgroup table

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.0.0-alpha-1, 2.2.0
    • None
    • None
    • Reviewed

    Description

      If a table creation fails in a cluster enabled with rsgroup feature, the table is still listed as part of default rsgroup.

      To recreate the scenario:

      • Create a namespace (NS) with number of region limit
      • Create table in the NS which satisfies the region limit by pre-splitting
      • Create a new table in the NS which will fail
      • list_rsgroup will show the table being part of default rsgroup and data can be found in hbase:rsgroup table

      Would be good to revert the entry when the table creation fails or a script to clean up the metadata.

      Attachments

        1. HBASE-20666.master.001.patch
          1 kB
          Xu Cang
        2. HBASE-20666.master.002.patch
          6 kB
          Xu Cang
        3. HBASE-20666.master.004.patch
          6 kB
          Xu Cang

        Issue Links

          Activity

            People

              xucang Xu Cang
              gsbiju Biju Nair
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: