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

Sergey Shelukhin commented on HBASE-8652:
-----------------------------------------

(what I meant to say by reset implicitly is that it seems to be by design to 
show last compaction until the next one, if everything works correctly current 
and total should be the same so it'd show 100% compaction progress).
                
> Number of compacting KVs is not reset at the end of compaction
> --------------------------------------------------------------
>
>                 Key: HBASE-8652
>                 URL: https://issues.apache.org/jira/browse/HBASE-8652
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Priority: Minor
>
> Looking at master:60010/master-status#compactStas , I noticed that 'Num. 
> Compacting KVs' column stays unchanged at non-zero value(s).
> In DefaultCompactor#compact(), we have this at the beginning:
> {code}
>     this.progress = new CompactionProgress(fd.maxKeyCount);
> {code}
> But progress.totalCompactingKVs is not reset at the end of compact().

--
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