From issues-return-114946-archive-asf-public=cust-asf.ponee.io@hive.apache.org Wed Apr 25 20:22:04 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 51F1418067A for ; Wed, 25 Apr 2018 20:22:04 +0200 (CEST) Received: (qmail 60932 invoked by uid 500); 25 Apr 2018 18:22:03 -0000 Mailing-List: contact issues-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list issues@hive.apache.org Received: (qmail 60923 invoked by uid 99); 25 Apr 2018 18:22:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Apr 2018 18:22:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id E13031A1A23 for ; Wed, 25 Apr 2018 18:22:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -102.311 X-Spam-Level: X-Spam-Status: No, score=-102.311 tagged_above=-999 required=6.31 tests=[RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id yazCi7rgERis for ; Wed, 25 Apr 2018 18:22:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 855835F188 for ; Wed, 25 Apr 2018 18:22:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id A4CC1E012E for ; Wed, 25 Apr 2018 18:22:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 652CB241CF for ; Wed, 25 Apr 2018 18:22:00 +0000 (UTC) Date: Wed, 25 Apr 2018 18:22:00 +0000 (UTC) From: "Bharathkrishna Guruvayoor Murali (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-18928) HS2: Perflogger has a race condition MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-18928?page=3Dcom.atlassia= n.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 an= d handler threads, which was the root cause for the=C2=A0race 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:1= 96) ~[?: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.jav= a:342) ~[guava-19.0.jar:?] > at com.google.common.collect.ImmutableMap.copyOf(ImmutableMap.jav= a:327) ~[guava-19.0.jar:?] > at org.apache.hadoop.hive.ql.log.PerfLogger.getEndTimes(PerfLogge= r.java:218) ~[hive-common-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT] > at org.apache.hadoop.hive.ql.Driver.compileInternal(Driver.java:1= 561) ~[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(SQL= Operation.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)