Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.90.4
    • Component/s: io, regionserver, util
    • Labels:
    • Hadoop Flags:
      Reviewed
    • Release Note:
      Hide
      Implementation of a Pretty Printer for HLogs. Can be accessed with the Java API or with a command line interface, which replaces HLog --dump functionality. Can output to a human-readable pretty format, or to a JSON list for easy parsing in diagnostic scripts. Can also filter by region, row, and/or sequence id. See command line usage (HLog --dump -h) and the javadocs for more detail on these features.
      Show
      Implementation of a Pretty Printer for HLogs. Can be accessed with the Java API or with a command line interface, which replaces HLog --dump functionality. Can output to a human-readable pretty format, or to a JSON list for easy parsing in diagnostic scripts. Can also filter by region, row, and/or sequence id. See command line usage (HLog --dump -h) and the javadocs for more detail on these features.

      Description

      We currently have a rudimentary way to print HLog data, but it is limited and currently prints key-only information. We need extend this functionality, similar to how we developed HFile's pretty printer. Ideas for functionality:

      • filter by sequence_id
      • filter by row / region
      • option to print values in addition to key info
      • option to print output in JSON format (so scripts can easily parse for analysis)

        Issue Links

          Activity

          Nicolas Spiegelberg created issue -
          Nicolas Spiegelberg made changes -
          Field Original Value New Value
          Assignee Nicolas Spiegelberg [ nspiegelberg ] Riley Patterson [ riley ]
          Nicolas Spiegelberg made changes -
          Link This issue is required by HBASE-4038 [ HBASE-4038 ]
          Nicolas Spiegelberg made changes -
          Link This issue relates to HBASE-2383 [ HBASE-2383 ]
          Riley Patterson made changes -
          Link This issue is related to HBASE-4040 [ HBASE-4040 ]
          Riley Patterson made changes -
          Link This issue blocks HBASE-4040 [ HBASE-4040 ]
          Riley Patterson made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Release Note Implementation of a Pretty Printer for HLogs. Can be accessed with the Java API or with a command line interface, which replaces HLog --dump functionality. Can output to a human-readable pretty format, or to a JSON list for easy parsing in diagnostic scripts. Can also filter by region, row, and/or sequence id. See command line usage (HLog --dump -h) and the javadocs for more detail on these features.
          Riley Patterson made changes -
          Attachment HBASE-3968.patch [ 12484914 ]
          stack made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Hadoop Flags [Reviewed]
          Resolution Fixed [ 1 ]
          Ted Yu made changes -
          Fix Version/s 0.90.4 [ 12316406 ]
          Lars Hofhansl made changes -
          Attachment HBASE-3968.patch [ 12484914 ]
          Gavin made changes -
          Link This issue blocks HBASE-4040 [ HBASE-4040 ]
          Gavin made changes -
          Link This issue is depended upon by HBASE-4040 [ HBASE-4040 ]

            People

            • Assignee:
              Riley Patterson
              Reporter:
              Nicolas Spiegelberg
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development