Jean-Daniel Cryans created HBASE-9371:
-----------------------------------------

             Summary: 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
            Priority: Minor
             Fix For: 0.98.0, 0.96.0


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

Reply via email to