You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "ramkrishna.s.vasudevan (JIRA)" <ji...@apache.org> on 2016/10/21 13:01:58 UTC

[jira] [Created] (HBASE-16911) Log Roller does not add proper logs on the size of the old HLog file

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)