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

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

Prasanth Jayachandran created HIVE-17808:
--------------------------------------------

             Summary: 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


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)