Return-Path: X-Original-To: apmail-hbase-dev-archive@www.apache.org Delivered-To: apmail-hbase-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5568A1032A for ; Thu, 29 Aug 2013 00:39:53 +0000 (UTC) Received: (qmail 19175 invoked by uid 500); 29 Aug 2013 00:39:52 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 19089 invoked by uid 500); 29 Aug 2013 00:39:52 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Received: (qmail 18934 invoked by uid 99); 29 Aug 2013 00:39:52 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Aug 2013 00:39:52 +0000 Date: Thu, 29 Aug 2013 00:39:52 +0000 (UTC) From: "Jean-Daniel Cryans (JIRA)" To: dev@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (HBASE-9371) Eliminate log spam when tailing files 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-9371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jean-Daniel Cryans resolved HBASE-9371. --------------------------------------- Resolution: Fixed Assignee: Jean-Daniel Cryans Hadoop Flags: Reviewed Committed to branch and trunk, thanks Stack. > Eliminate log spam when tailing files > ------------------------------------- > > Key: HBASE-9371 > URL: https://issues.apache.org/jira/browse/HBASE-9371 > Project: HBase > Issue Type: Improvement > Affects Versions: 0.95.2 > Reporter: Jean-Daniel Cryans > Assignee: Jean-Daniel Cryans > Priority: Minor > Fix For: 0.98.0, 0.96.0 > > Attachments: HBASE-9371.patch > > > Tailing a file involves reopening it for each seek, so for example when running replication it looks like this every time: > {noformat} > 2013-08-28 21:45:00,205 DEBUG [regionserver60020-EventThread.replicationSource,1] org.apache.hadoop.hbase.fs.HFileSystem: /hbase-master/WALs/jdec2hbase0403-5,60020,1377724981186/jdec2hbase0403-5%2C60020%2C1377724981186.1377725847406 is an HLog file, so reordering blocks, last hostname will be:jdec2hbase0403-5 > 2013-08-28 21:45:00,211 DEBUG [regionserver60020-EventThread.replicationSource,1] org.apache.hadoop.hbase.regionserver.wal.ProtobufLogReader: After reading the trailer: walEditsStopOffset: 0, fileLength: 0, trailerPresent: false > {noformat} > The frequency makes it more relevant for TRACEing. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira