You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Andrew Purtell (JIRA)" <ji...@apache.org> on 2014/11/08 00:57:33 UTC

[jira] [Commented] (HBASE-12448) Fix rate reporting in compaction progress DEBUG logging

    [ https://issues.apache.org/jira/browse/HBASE-12448?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14202964#comment-14202964 ] 

Andrew Purtell commented on HBASE-12448:
----------------------------------------

I was trying to save a local variable before but messed up. Just add one for tracking bytes written for the compaction progress report, if DEBUG logging is enabled. Also use EnvironmentEdgeManager#currentTime instead of System#currentTimeMillis.

> Fix rate reporting in compaction progress DEBUG logging
> -------------------------------------------------------
>
>                 Key: HBASE-12448
>                 URL: https://issues.apache.org/jira/browse/HBASE-12448
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Andrew Purtell
>            Assignee: Andrew Purtell
>            Priority: Trivial
>             Fix For: 2.0.0, 0.98.8, 0.99.2
>
>         Attachments: HBASE-12448-0.98.patch, HBASE-12448.patch
>
>
> HBASE-11702 introduced rate reporting at DEBUG level for long running compactions but failed to align bytesWritten with the reporting interval. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)