hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prasanth Jayachandran (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (HIVE-17808) Change System.currentTimeMillis to System.nanoTime for elapsed time
Date Fri, 13 Oct 2017 22:46:00 GMT

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

Prasanth Jayachandran reassigned HIVE-17808:
--------------------------------------------

    Assignee: Prasanth Jayachandran

> Change System.currentTimeMillis to System.nanoTime for elapsed time
> -------------------------------------------------------------------
>
>                 Key: HIVE-17808
>                 URL: https://issues.apache.org/jira/browse/HIVE-17808
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 3.0.0
>            Reporter: Prasanth Jayachandran
>            Assignee: Prasanth Jayachandran
>
> There are many places in QueryInfo and TezJobMonitor that uses System.currentTimeMillis()
for finding elapsed time. Since currentTimeMillis depends on system clock this can cause issues
in ntpd environments. Replace System.currentTimeMillis() with System.nanoTime() everywhere.




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

Mime
View raw message