[ 
https://issues.apache.org/jira/browse/HIVE-13002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15135569#comment-15135569
 ] 

Thejas M Nair commented on HIVE-13002:
--------------------------------------

+1
But I don't get why the Hive object is getting concurrently used in this case. 
The 'thread local'ness of Hive object should be preventing that.


> metastore call timing is not threadsafe
> ---------------------------------------
>
>                 Key: HIVE-13002
>                 URL: https://issues.apache.org/jira/browse/HIVE-13002
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>         Attachments: HIVE-13002.patch
>
>
> Discovered in some q test run:
> {noformat}
>  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)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to