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

Xianyin Xin commented on HADOOP-12409:
--------------------------------------

[[email protected]], i found there're already a {{Time}} class and a {{Timer}} 
class in hadoop.util, and {{Timer}} has offered a method to get the monotonic 
time. It seems a little messy on using the Time or Clock in the Hadoop project.

My suggestion is, as the first step, we just "move" the clock from yarn.util to 
hadoop.util through the way you proposed, and then consider consolidating or 
refactoring both the Time and Clock in the following steps. what do you think?

> Move org.apache.hadoop.yarn.util.Clock and relative implementations to hadoop 
> Common
> ------------------------------------------------------------------------------------
>
>                 Key: HADOOP-12409
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12409
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: util
>    Affects Versions: 3.0.0
>            Reporter: Xianyin Xin
>            Assignee: Xianyin Xin
>            Priority: Minor
>         Attachments: Hadoop-12409.001.patch, Hadoop-12409.002.patch
>
>
> It is widely used by MR and YARN.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to