[
https://issues.apache.org/jira/browse/HBASE-19450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16975603#comment-16975603
]
Duo Zhang commented on HBASE-19450:
-----------------------------------
Maybe we can add a name method in TimeMeasurable class and log the execution
time and average time after update every time, so in the ScheduleChore we only
need the info log? And let's also mark the time measurement classes IA.Private?
I do not think it is designed to be a public user API...
> 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
> Components: Operability
> Reporter: Reid Chan
> Assignee: Reid Chan
> Priority: Minor
> Fix For: 3.0.0, 2.3.0, 2.1.8, 2.2.3
>
> Attachments: HBASE-19450.addendum1.0.patch,
> HBASE-19450.master.001.patch, HBASE-19450.master.002.patch,
> HBASE-19450.master.003.patch, HBASE-19450.master.004.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
(v8.3.4#803005)