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

Bug of createMultiRegions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 0.89-fb
    • 0.89-fb
    • test

    Description

      createMultiRegions and its friends have a problem that leads a bug getting null HRegionInfo from the .META. table in metaScan.

      The reason is : After createMultiRegions creates new regions, it deletes old region info from the META table. But some region server may have been openning the regions (though with a very low probability). After the rows of the openning region is completely removed, the region is openned. Then the region server tells the master its server and startCode. The master then write a row of only server address and startCode back to the META. Then a row without HRegionInfo in META table is generated.

      Suggestion of fix is not to use this method. Create tables directly with specified start/stop keys.

      Attachments

        Activity

          People

            Unassigned Unassigned
            daviddengfb @deprecated Yi Deng
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: