You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Andrew Kyle Purtell (Jira)" <ji...@apache.org> on 2021/03/04 02:16:00 UTC

[jira] [Assigned] (HBASE-25385) TestCurrentHourProvider fails if the latest timezone changes are not present

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

Andrew Kyle Purtell reassigned HBASE-25385:
-------------------------------------------

    Assignee: Andrew Kyle Purtell

> TestCurrentHourProvider fails if the latest timezone changes are not present
> ----------------------------------------------------------------------------
>
>                 Key: HBASE-25385
>                 URL: https://issues.apache.org/jira/browse/HBASE-25385
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 2.4.1
>            Reporter: Christine Feng
>            Assignee: Andrew Kyle Purtell
>            Priority: Blocker
>             Fix For: 3.0.0-alpha-1, 2.5.0, 2.4.2
>
>
> According to [this link|https://www.oracle.com/java/technologies/tzdata-versions.html], a few timezones underwent changes in October of this year. For environments that do not have these latest updates, TestCurrentHourProvider will fail since information for certain time zones is out of date.
> Example: On an environment running jdk8, this test fails for timezones America/Dawson, America/Whitehorse, Canada/Yukon, and Antarctica/Casey (all of which were affected by the latest changes described at the above link).
> It seems that if timezone information on a particular environment is not up to date with the latest changes, this shouldn't indicate a failure of CurrentHourProvider, especially since this test specifically tests the functionality of CurrentHourProvider and using EnvironmentEdgeManager to mock time.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)