infraio commented on a change in pull request #2469:
URL: https://github.com/apache/hbase/pull/2469#discussion_r496678918



##########
File path: 
hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/Procedure.java
##########
@@ -439,6 +439,10 @@ protected void updateMetricsOnFinish(TEnvironment env, 
long runtime, boolean suc
       if (timeHisto != null) {
         timeHisto.update(runtime);
       }
+      Histogram timeHistoOnMasterUI = metrics.getTimeHistoOnMasterUI();

Review comment:
       You can use "instance of" and cast to OperationMetricsForMasterUI. Then 
no need to add the method to interface?




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to