hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bharathkrishna Guruvayoor Murali (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-18928) HS2: Perflogger has a race condition
Date Wed, 25 Apr 2018 18:22:00 GMT

     [ https://issues.apache.org/jira/browse/HIVE-18928?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Bharathkrishna Guruvayoor Murali updated HIVE-18928:
----------------------------------------------------
    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

Resolving this issue with the patch in HIVE-19133.
Now with HIVE-19133, PerfLogger instance is not shared across background and handler threads,
which was the root cause for the race condition.

> 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