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

HRegion#initializeRegionInternals should not re-create .hregioninfo file when the region directory no longer exists

    XMLWordPrintableJSON

    Details

      Description

      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

        Attachments

        1. HBASE-18024.004.patch
          12 kB
          Esteban Gutierrez
        2. HBASE-18024.003.patch
          12 kB
          Esteban Gutierrez
        3. HBASE-18024.002.patch
          10 kB
          Esteban Gutierrez
        4. HBASE-18024.001.patch
          7 kB
          Esteban Gutierrez

          Issue Links

            Activity

              People

              • Assignee:
                esteban Esteban Gutierrez
                Reporter:
                esteban Esteban Gutierrez
              • Votes:
                0 Vote for this issue
                Watchers:
                14 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: