You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2017/12/07 13:58:00 UTC
[jira] [Commented] (HBASE-19450) Add log about average execution
time for ScheduledChore
[ https://issues.apache.org/jira/browse/HBASE-19450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16281872#comment-16281872 ]
Ted Yu commented on HBASE-19450:
--------------------------------
{code}
212 averageTime += (executionTime - averageTime) / (++count);
{code}
Shouldn't the average be computed by adding (executionTime - averageTime) to previous sum, followed by division by ++count ?
> Add log about average execution time for ScheduledChore
> -------------------------------------------------------
>
> Key: HBASE-19450
> URL: https://issues.apache.org/jira/browse/HBASE-19450
> Project: HBase
> Issue Type: Improvement
> Reporter: Reid Chan
> Assignee: Reid Chan
> Priority: Minor
> Attachments: HBASE-19450.master.001.patch
>
>
> So far, there is no information about the exact execution time for a chore, we can provide log information about it. It also brings other benefits, like discovering inefficient chores which show rooms for improvement.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)