HBase
  1. HBase
  2. HBASE-2889

Tool to look at HLogs -- parse and tail -f

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Later
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: wal
    • Labels:
      None

      Description

      We need a tool for looking at wals. A tail -f would be sweet though it might be ugly having to open each time it wants to dump next lot of edits out wal log.

      From Kannan:

      20:45 <kannan> WALEdit already has a toString().
      20:46 <kannan> And append/sync support allows you to read concurrently a file that is being written too... (like JDs replication).
      20:46 <kannan> So it would be good if I could do a bin/hbase hlogprint -f hdfs://...../.logs/<filename> -v -p
      20:46 <kannan> much like the HFile pretty printer... except the HLog one is effectively a tail -f.
      
      1. HBASE-2889_2.patch
        2 kB
        Nicolas Spiegelberg
      2. 2889.txt
        7 kB
        stack

        Issue Links

          Activity

          stack created issue -
          stack made changes -
          Field Original Value New Value
          Attachment 2889.txt [ 12454134 ]
          Jeff Hammerbacher made changes -
          Link This issue is related to HBASE-2055 [ HBASE-2055 ]
          Nicolas Spiegelberg made changes -
          Link This issue relates to HBASE-2961 [ HBASE-2961 ]
          Nicolas Spiegelberg made changes -
          Attachment HBASE-2889_2.patch [ 12455456 ]
          Nicolas Spiegelberg made changes -
          Link This issue is related to HBASE-2643 [ HBASE-2643 ]
          stack made changes -
          Fix Version/s 0.90.0 [ 12313607 ]
          stack made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Later [ 7 ]

            People

            • Assignee:
              stack
              Reporter:
              stack
            • Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development