From issues-return-178038-archive-asf-public=cust-asf.ponee.io@hive.apache.org Tue Feb 4 06:43:02 2020 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 [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id D462018064E for ; Tue, 4 Feb 2020 07:43:01 +0100 (CET) Received: (qmail 45548 invoked by uid 500); 4 Feb 2020 06:43:01 -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 45534 invoked by uid 99); 4 Feb 2020 06:43:01 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Feb 2020 06:43:01 +0000 Received: from jira-he-de.apache.org (static.172.67.40.188.clients.your-server.de [188.40.67.172]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 9705AE2E0C for ; Tue, 4 Feb 2020 06:43:00 +0000 (UTC) Received: from jira-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira-he-de.apache.org (ASF Mail Server at jira-he-de.apache.org) with ESMTP id 132F3780697 for ; Tue, 4 Feb 2020 06:43:00 +0000 (UTC) Date: Tue, 4 Feb 2020 06:43:00 +0000 (UTC) From: "Prasanth Jayachandran (Jira)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-22502) ConcurrentModificationException in TriggerValidatorRunnable stops trigger processing 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-22502?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1702= 9603#comment-17029603 ]=20 Prasanth Jayachandran commented on HIVE-22502: ---------------------------------------------- Thanks for the patch! +1 > ConcurrentModificationException in TriggerValidatorRunnable stops trigger= processing > -------------------------------------------------------------------------= ----------- > > Key: HIVE-22502 > URL: https://issues.apache.org/jira/browse/HIVE-22502 > Project: Hive > Issue Type: Bug > Components: HiveServer2 > Reporter: Attila Magyar > Assignee: Attila Magyar > Priority: Major > Attachments: HIVE-22502.1.patch > > > An other thread is modifying the list the contains the sessions while=C2= =A0TriggerValidatorRunnable is traversing it. This causes the=C2=A0TriggerV= alidatorRunnable thread to die and triggers are no longer properly monitore= d. > =C2=A0 > {code:java} > <12>1 2019-11-14T00:31:12.187Z hiveserver2-0.hiveserver2-service.compute-= 1572769905-6965.svc.cluster.local hiveserver2 1 fa2f30b6-ffb3-11e9-93ba-0a2= 57c2413a2 [mdc@18060 class=3D"tez.TriggerValidatorRunnable" level=3D"WARN" = thread=3D"TriggerValidator"] TriggerValidatorRunnable caught exception.<12>= 1 2019-11-14T00:31:12.187Z hiveserver2-0.hiveserver2-service.compute-157276= 9905-6965.svc.cluster.local hiveserver2 1 fa2f30b6-ffb3-11e9-93ba-0a257c241= 3a2 [mdc@18060 class=3D"tez.TriggerValidatorRunnable" level=3D"WARN" thread= =3D"TriggerValidator"] TriggerValidatorRunnable caught exception.java.util.= ConcurrentModificationException at java.util.LinkedList$ListItr.checkForCom= odification(LinkedList.java:966) at java.util.LinkedList$ListItr.next(Linke= dList.java:888) at java.util.Collections$UnmodifiableCollection$1.next(Coll= ections.java:1044) at org.apache.hadoop.hive.ql.exec.tez.TriggerValidatorRu= nnable.run(TriggerValidatorRunnable.java:49) at java.util.concurrent.Execut= ors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.Future= Task.runAndReset(FutureTask.java:308) at java.util.concurrent.ScheduledThre= adPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.j= ava:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutur= eTask.run(ScheduledThreadPoolExecutor.java:294) at java.util.concurrent.Thr= eadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concur= rent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lan= g.Thread.run(Thread.java:748)=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=C2= =A0 {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)