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

Hive object is not thread safe, is shared via a threadlocal and thus should not be passed around too much - part 1

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.1.0
    • None
    • None

    Description

      Discovered in some q test run:

       TestCliDriver.testCliDriver_insert_values_orig_table:123->runTest:199 Unexpected exception java.util.ConcurrentModificationException
      	at java.util.HashMap$HashIterator.nextEntry(HashMap.java:926)
      	at java.util.HashMap$EntryIterator.next(HashMap.java:966)
      	at java.util.HashMap$EntryIterator.next(HashMap.java:964)
      	at org.apache.hadoop.hive.ql.metadata.Hive.dumpAndClearMetaCallTiming(Hive.java:3412)
      	at org.apache.hadoop.hive.ql.Driver.dumpMetaCallTimingWithoutEx(Driver.java:574)
      	at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1722)
      	at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1342)
      	at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1113)
      	at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1101)
      

      Attachments

        1. HIVE-13002.01.patch
          5 kB
          Sergey Shelukhin
        2. HIVE-13002.02.patch
          45 kB
          Sergey Shelukhin
        3. HIVE-13002.03.patch
          42 kB
          Sergey Shelukhin
        4. HIVE-13002.patch
          4 kB
          Sergey Shelukhin

        Issue Links

          Activity

            People

              sershe Sergey Shelukhin
              sershe Sergey Shelukhin
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: