Esteban Gutierrez created HBASE-18024:
-----------------------------------------

             Summary: HRegion#initializeRegionInternals should not re-create 
.hregioninfo file when the region directory no longer exists
                 Key: HBASE-18024
                 URL: https://issues.apache.org/jira/browse/HBASE-18024
             Project: HBase
          Issue Type: Bug
          Components: Region Assignment, regionserver
    Affects Versions: 1.2.5, 1.3.1, 1.4.0
            Reporter: Esteban Gutierrez
            Assignee: Esteban Gutierrez


When a RegionSever attempts to open a region, during initialization the RS 
tries to open the {{<hbase.root.dir>/data/<table>/<region>/.hregioninfo}} file, 
however if the {{.hregioninfofile}} doesn't exist, the RegionServer will create 
a new one on {{HRegionFileSystem#checkRegionInfoOnFilesystem}}. A side effect 
of that tools like hbck will incorrectly assume an inconsistency due the 
presence of this new {{.hregioninfofile}}




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to