Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-13051

Deadline class has numerous issues

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3.0, 2.0.1, 2.1.0
    • Component/s: Metastore
    • Labels:
      None

      Description

      currentTimeMillis is not a correct way to measure intervals of time; it can easily be adjusted e.g. by ntpd. System.nanoTime should be used.
      It's also unsafe for failure cases, and doesn't appear to update from config updates correctly.

        Attachments

        1. HIVE-13051.01.patch
          9 kB
          Sergey Shelukhin
        2. HIVE-13051.patch
          9 kB
          Sergey Shelukhin

          Activity

            People

            • Assignee:
              sershe Sergey Shelukhin
              Reporter:
              sershe Sergey Shelukhin
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: