You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Martin Serrano (JIRA)" <ji...@apache.org> on 2017/06/19 22:33:00 UTC

[jira] [Comment Edited] (HBASE-15737) Remove use of Guava Stopwatch

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

Martin Serrano edited comment on HBASE-15737 at 6/19/17 10:32 PM:
------------------------------------------------------------------

Use of {{StopWatch.elapsed()}} instead of {{StopWatch.ellapsedMillis()}} is compatible with guava 14.0 and later.  {{StopWatch.ellapsedMillis()}} went away in 16.0.



was (Author: mserrano):
Use of `StopWatch.elapsed()` instead of `StopWatch.ellapsedMillis()` is compatible with guava 14.0 and later.  `StopWatch.ellapsedMillis()` went away in 16.0.


> Remove use of Guava Stopwatch
> -----------------------------
>
>                 Key: HBASE-15737
>                 URL: https://issues.apache.org/jira/browse/HBASE-15737
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>            Priority: Minor
>         Attachments: 15737.v1.txt, 15737.v2.txt, 15737.v3.txt
>
>
> HBASE-14963 removed reference to Guava Stopwatch from hbase-client module.
> However, there're still 3 classes referring to Guava Stopwatch :
> hbase-client/src/test/java/org/apache/hadoop/hbase/client/TestClientNoCluster.java:import com.google.common.base.Stopwatch;
> hbase-server/src/main/java/org/apache/hadoop/hbase/util/JvmPauseMonitor.java:import com.google.common.base.Stopwatch;
> hbase-server/src/test/java/org/apache/hadoop/hbase/ScanPerformanceEvaluation.java:import com.google.common.base.Stopwatch;
> We should remove reference to Guava Stopwatch.
> hadoop is no longer referencing Guava Stopwatch.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)