hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-16256) Purpose of EnvironmentEdge, EnvironmentEdgeManager
Date Wed, 20 Jul 2016 04:47:20 GMT

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

stack commented on HBASE-16256:
-------------------------------

Using git blame on the class, it went in here [~saitejar]:

 HBASE-2578  Add ability for tests to override server-side timestamp setting (currentTimeMillis)

Then take a look through the various EnvironmentEdge issues: https://issues.apache.org/jira/browse/HBASE-16256?jql=project%20%3D%20HBASE%20AND%20text%20~%20environmentedge

In particular, look at HBASE-6476 It is attempt to put EE everywhere but then good discussion
on why it won't work just doing it everywhere (see comments by [~nkeywal]. Our [~mbertozzi]
is good on this too, on why it won't work having it everywhere (much of our system depends
on time elapsing...)

Hope this helps some.

> Purpose of EnvironmentEdge, EnvironmentEdgeManager
> --------------------------------------------------
>
>                 Key: HBASE-16256
>                 URL: https://issues.apache.org/jira/browse/HBASE-16256
>             Project: HBase
>          Issue Type: Wish
>            Reporter: Sai Teja Ranuva
>            Priority: Trivial
>              Labels: clarification
>
> I am trying to figure out the purpose of EnvironmentEdge in the HBase code.
> The java doc says it has something to do with environment, I feel it is vague. It looks
like there is a bigger picture for such a design. Currently only concrete method that is available
in it is currentTime(). 
> Can anyone summarize the rationale behind having EnvironmentEdge/EnvironmentEdgeManager
?



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

Mime
View raw message