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

Validate HFiles do not have PREFIX_TREE DataBlockEncoding

    XMLWordPrintableJSON

Details

    • Reviewed
    • Hide
      <!-- markdown -->
      Users who have previously made use of prefix tree encoding can now check that their existing HFiles no longer contain data that uses it with an additional preupgrade check command.

      ```
      hbase pre-upgrade validate-hfile
      ```

      Please see the "HFile Content validation" section of the ref guide's coverage of the pre-upgrade validator tool for usage details.
      Show
      <!-- markdown --> Users who have previously made use of prefix tree encoding can now check that their existing HFiles no longer contain data that uses it with an additional preupgrade check command. ``` hbase pre-upgrade validate-hfile ``` Please see the "HFile Content validation" section of the ref guide's coverage of the pre-upgrade validator tool for usage details.

    Description

      HBASE-20592 adds a tool to check column families on the cluster do not have PREFIX_TREE encoding.

      Since it is possible that DataBlockEncoding was already changed but HFiles are not rewritten yet we would need a tool that can verify the content of hfiles in the cluster.

      Attachments

        1. HBASE-20649.master.001.patch
          10 kB
          Peter Somogyi
        2. HBASE-20649.master.002.patch
          10 kB
          Peter Somogyi
        3. HBASE-20649.master.003.patch
          11 kB
          Peter Somogyi
        4. HBASE-20649.master.004.patch
          12 kB
          Balazs Meszaros
        5. HBASE-20649.master.005.patch
          12 kB
          Balazs Meszaros
        6. HBASE-20649.master.006.patch
          14 kB
          Balazs Meszaros

        Issue Links

          Activity

            People

              meszibalu Balazs Meszaros
              psomogyi Peter Somogyi
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: