You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Prasanth Jayachandran (JIRA)" <ji...@apache.org> on 2017/10/13 22:46:00 UTC

[jira] [Assigned] (HIVE-17808) Change System.currentTimeMillis to System.nanoTime for elapsed time

     [ 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)