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

Make Fileinfo more readable in HFilePrettyPrinter

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0, 1.5.0, 2.0.0-alpha-4
    • Fix Version/s: 2.0.0-beta-1, 2.0.0
    • Component/s: HFile
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Fileinfo as follows. some fields can print readable values.

      Fileinfo:
          BLOOM_FILTER_TYPE = ROW
          DELETE_FAMILY_COUNT = \x00\x00\x00\x00\x00\x00\x00\x00
          EARLIEST_PUT_TS = \x00\x00\x01^Q\xF6\x0E\xCF
          KEY_VALUE_VERSION = \x00\x00\x00\x01
          LAST_BLOOM_KEY = f
          MAJOR_COMPACTION_KEY = \xFF
          MAX_MEMSTORE_TS_KEY = \x00\x00\x00\x00\x00\x00\x00\x18
          MAX_SEQ_ID_KEY = 27
          TIMERANGE = 1504613633743....1506570582061
          hfile.AVG_KEY_LEN = 14
          hfile.AVG_VALUE_LEN = 3
          hfile.CREATE_TIME_TS = \x00\x00\x01^\xC6\xB4J\xF9
          hfile.LASTKEY = \x00\x01f\x01i\x00\x00\x01^\xC6\x9A\xB8-\x04
      

        Attachments

        1. HBASE-18899.patch
          3 kB
          Guangxu Cheng
        2. HBASE-18899.master.v1.patch
          3 kB
          Guangxu Cheng
        3. HBASE-18899.master.v2.patch
          4 kB
          Guangxu Cheng

          Issue Links

            Activity

              People

              • Assignee:
                gxcheng Guangxu Cheng
                Reporter:
                gxcheng Guangxu Cheng
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: