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

Improve metadata printing in HFilePrettyPrinter

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • None
    • None
    • HFile
    • None

    Description

      The pretty printer could do a better job with metadata. For example:

      ...
      Fileinfo:
          BULKLOAD_SOURCE_TASK = attempt_201301272014_0001_r_000000_0
          BULKLOAD_TIMESTAMP = \x00\x00\x01<\x7FcG\x8E
          DELETE_FAMILY_COUNT = \x00\x00\x00\x00\x00\x00\x00\x00
          EARLIEST_PUT_TS = \x00\x00\x01<\x7Fc&F
          EXCLUDE_FROM_MINOR_COMPACTION = \x00
          KEY_VALUE_VERSION = \x00\x00\x00\x01
          MAJOR_COMPACTION_KEY = \xFF
          MAX_MEMSTORE_TS_KEY = \x00\x00\x00\x00\x00\x00\x00\x00
          TIMERANGE = 1359346869830....1359346869830
          hfile.AVG_KEY_LEN = 19
          hfile.AVG_VALUE_LEN = 2
          hfile.LASTKEY = \x00\x04row9\x01dc2\x00\x00\x01<\x7Fc&F\x04
      ...
      

      May of these fields could be cleaned up to print in human-readable values.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ndimiduk Nick Dimiduk
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: