hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gopal V (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-18928) HS2: Perflogger has a race condition
Date Tue, 27 Mar 2018 23:14:00 GMT

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

Gopal V commented on HIVE-18928:
--------------------------------

Actually, I think that will hide the actual issue of two threads ending up with the same perflogger
object.

I'll keep this open until the whole of the test run is complete & I can see if this is
a symptom or the actual bug.

> HS2: Perflogger has a race condition
> ------------------------------------
>
>                 Key: HIVE-18928
>                 URL: https://issues.apache.org/jira/browse/HIVE-18928
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Gopal V
>            Assignee: Bharathkrishna Guruvayoor Murali
>            Priority: Major
>         Attachments: HIVE-18928.1.patch
>
>
> {code}
> Caused by: java.util.ConcurrentModificationException
>         at java.util.HashMap$HashIterator.nextNode(HashMap.java:1437) ~[?:1.8.0_112]
>         at java.util.HashMap$EntryIterator.next(HashMap.java:1471) ~[?:1.8.0_112]
>         at java.util.HashMap$EntryIterator.next(HashMap.java:1469) ~[?:1.8.0_112]
>         at java.util.AbstractCollection.toArray(AbstractCollection.java:196) ~[?:1.8.0_112]
>         at com.google.common.collect.Iterables.toArray(Iterables.java:316) ~[guava-19.0.jar:?]
>         at com.google.common.collect.ImmutableMap.copyOf(ImmutableMap.java:342) ~[guava-19.0.jar:?]
>         at com.google.common.collect.ImmutableMap.copyOf(ImmutableMap.java:327) ~[guava-19.0.jar:?]
>         at org.apache.hadoop.hive.ql.log.PerfLogger.getEndTimes(PerfLogger.java:218)
~[hive-common-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT]
>         at org.apache.hadoop.hive.ql.Driver.compileInternal(Driver.java:1561) ~[hive-exec-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT]
>         at org.apache.hadoop.hive.ql.Driver.compileAndRespond(Driver.java:1498) ~[hive-exec-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT]
>         at org.apache.hive.service.cli.operation.SQLOperation.prepare(SQLOperation.java:198)
~[hive-service-3.0.0.3.0.0.2-132.jar:3.0.0.3.0.0.2-132]
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message