Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
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.
<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)
Attachments
Attachments
Issue Links
- links to