hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Hammerbacher (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-2889) Tool to look at HLogs -- parse and tail -f
Date Thu, 09 Sep 2010 06:32:33 GMT

    [ https://issues.apache.org/jira/browse/HBASE-2889?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12907532#action_12907532
] 

Jeff Hammerbacher commented on HBASE-2889:
------------------------------------------

FWIW, if the WAL were serialized as Avro records, tools in many languages would be available
for looking at the logs. There may be other drawbacks, of course.

> Tool to look at HLogs -- parse and tail -f
> ------------------------------------------
>
>                 Key: HBASE-2889
>                 URL: https://issues.apache.org/jira/browse/HBASE-2889
>             Project: HBase
>          Issue Type: Bug
>          Components: wal
>            Reporter: stack
>            Assignee: stack
>             Fix For: 0.90.0
>
>         Attachments: 2889.txt
>
>
> 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:
> {code}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.
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message