ramkrishna.s.vasudevan created HBASE-16911:
----------------------------------------------
Summary: Log Roller does not add proper logs on the size of the
old HLog file
Key: HBASE-16911
URL: https://issues.apache.org/jira/browse/HBASE-16911
Project: HBase
Issue Type: Bug
Components: wal
Reporter: ramkrishna.s.vasudevan
Assignee: ramkrishna.s.vasudevan
Priority: Trivial
{code}
LOG.info("Rolled WAL " + FSUtils.getPath(oldPath) + " with entries=" +
oldNumEntries
+ ", filesize=" + StringUtils.byteDesc(oldFileLen) + "; new WAL " +
newPathString);
{code}
This log in AbstractFSWAL#replaceWriter() is always having 0 for oldFileLen.
A trivial fix is needed to fix this log message.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)