hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yi Deng (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-10901) Bug of createMultiRegions
Date Thu, 03 Apr 2014 00:33:14 GMT
Yi Deng created HBASE-10901:

             Summary: Bug of createMultiRegions
                 Key: HBASE-10901
                 URL: https://issues.apache.org/jira/browse/HBASE-10901
             Project: HBase
          Issue Type: Bug
          Components: test
    Affects Versions: 0.89-fb
            Reporter: Yi Deng
             Fix For: 0.89-fb

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

This message was sent by Atlassian JIRA

View raw message