hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsuyoshi OZAWA (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-11032) Replace use of Guava Stopwatch with Apache StopWatch
Date Sat, 30 Aug 2014 12:52:53 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-11032?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Tsuyoshi OZAWA updated HADOOP-11032:
------------------------------------

    Attachment: HADOOP-11032.1.patch

Quick prototype to replace Guava Stopwatch with Apache StopWatch. 
It can be replaced straightforwardly. One concerns is that some components use Guava Stopwatch
in micro second mode, but Apache StopWatch only provides millisecond-level precision.

> Replace use of Guava Stopwatch with Apache StopWatch
> ----------------------------------------------------
>
>                 Key: HADOOP-11032
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11032
>             Project: Hadoop Common
>          Issue Type: Improvement
>            Reporter: Gary Steelman
>         Attachments: HADOOP-11032.1.patch
>
>
> This patch reduces Hadoop's dependency on an old version of guava. Stopwatch.elapsedMillis()
isn't part of guava past v16 and the tools I'm working on use v17. 
> To remedy this and also reduce Hadoop's reliance on old versions of guava, we can use
the Apache StopWatch (org.apache.commons.lang.time.StopWatch) which provides nearly equivalent
functionality. apache.commons.lang is already a dependency for Hadoop so this will not introduce
new dependencies. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message