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

SplitTableRegionProcedure and MergeTableRegionsProcedure should skip store files for unknown column families

    XMLWordPrintableJSON

    Details

    • Hadoop Flags:
      Reviewed

      Description

      Hit this problem in our internal staging cluster. Not sure why, but probably, there was a partial successful 'alter table' call that removed a family. As it is 'partial successful', there are still some stale store files of the removed family left under the region directory. And in SplitTableRegionProcedure and MergeTableRegionsProcedure, we will get all the store files by listing the file system, so we will also get the stale store files for the family which should have been removed already, and then causes NPE when we want to access the ColumnFamilyDescriptor.

      Although it is not the common case that there are store files for removed families, but FWIW, I think we can do something to make our procedures more robust...

        Attachments

        1. HBASE-22632-UT.patch
          5 kB
          Duo Zhang

          Issue Links

            Activity

              People

              • Assignee:
                zhangduo Duo Zhang
                Reporter:
                zhangduo Duo Zhang
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: