hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prasanth Jayachandran (Jira)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-22502) ConcurrentModificationException in TriggerValidatorRunnable stops trigger processing
Date Tue, 04 Feb 2020 06:43:00 GMT

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

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 TriggerValidatorRunnable
is traversing it. This causes the TriggerValidatorRunnable thread to die and triggers are
no longer properly monitored.
>  
> {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-0a257c2413a2 [mdc@18060 class="tez.TriggerValidatorRunnable"
level="WARN" thread="TriggerValidator"] TriggerValidatorRunnable caught exception.<12>1
2019-11-14T00:31:12.187Z hiveserver2-0.hiveserver2-service.compute-1572769905-6965.svc.cluster.local
hiveserver2 1 fa2f30b6-ffb3-11e9-93ba-0a257c2413a2 [mdc@18060 class="tez.TriggerValidatorRunnable"
level="WARN" thread="TriggerValidator"] TriggerValidatorRunnable caught exception.java.util.ConcurrentModificationException
at java.util.LinkedList$ListItr.checkForComodification(LinkedList.java:966) at java.util.LinkedList$ListItr.next(LinkedList.java:888)
at java.util.Collections$UnmodifiableCollection$1.next(Collections.java:1044) at org.apache.hadoop.hive.ql.exec.tez.TriggerValidatorRunnable.run(TriggerValidatorRunnable.java:49)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)             {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message