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 keys.
--
This message was sent by Atlassian JIRA
(v6.2#6252)