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

Create a tool to verify tables do not have prefix tree encoding

    XMLWordPrintableJSON

Details

    • PreUpgradeValidator tool with DataBlockEncoding validator was added to verify cluster is upgradable to HBase 2.

    Description

      HBase 2.0.0 removed PREFIX_TREE encoding so users need to modify data block encoding to something else before upgrading to HBase 2.0+. A tool would help users to verify that there are no tables left with PREFIX_TREE encoding.

      The tool needs to check the following:

      • There are no tables where DATA_BLOCK_ENCODING => 'PREFIX_TREE'
      • Check existing hfiles that none of them have PREFIX_TREE encoding (in case table description is changed but hfiles were not rewritten)

      Attachments

        1. HBASE-20592.master.006.patch
          11 kB
          Peter Somogyi
        2. HBASE-20592.master.005.patch
          11 kB
          Peter Somogyi
        3. HBASE-20592.master.004.patch
          10 kB
          Peter Somogyi
        4. HBASE-20592.master.003.patch
          10 kB
          Peter Somogyi
        5. HBASE-20592.master.002.patch
          6 kB
          Peter Somogyi
        6. HBASE-20592.master.001.patch
          5 kB
          Peter Somogyi

        Issue Links

          Activity

            People

              psomogyi Peter Somogyi
              psomogyi Peter Somogyi
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: