Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BE30711644 for ; Wed, 16 Jul 2014 23:11:07 +0000 (UTC) Received: (qmail 9630 invoked by uid 500); 16 Jul 2014 23:11:06 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 9578 invoked by uid 500); 16 Jul 2014 23:11:06 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 9463 invoked by uid 99); 16 Jul 2014 23:11:06 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Jul 2014 23:11:06 +0000 Date: Wed, 16 Jul 2014 23:11:06 +0000 (UTC) From: "Andrew Purtell (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-2889) Tool to look at HLogs -- parse and tail -f MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-2889?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14064311#comment-14064311 ] Andrew Purtell commented on HBASE-2889: --------------------------------------- Resurrect or close? > 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 > Attachments: 2889.txt, HBASE-2889_2.patch > > > 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 WALEdit already has a toString(). > 20:46 And append/sync support allows you to read concurrently a file that is being written too... (like JDs replication). > 20:46 So it would be good if I could do a bin/hbase hlogprint -f hdfs://...../.logs/ -v -p > 20:46 much like the HFile pretty printer... except the HLog one is effectively a tail -f. > {code} -- This message was sent by Atlassian JIRA (v6.2#6252)