[
https://issues.apache.org/jira/browse/HIVE-22502?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16989298#comment-16989298
]
Hive QA commented on HIVE-22502:
--------------------------------
Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12987559/HIVE-22502.1.patch
{color:red}ERROR:{color} -1 due to no test(s) being added or modified.
{color:green}SUCCESS:{color} +1 due to 17758 tests passed
Test results:
https://builds.apache.org/job/PreCommit-HIVE-Build/19764/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/19764/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-19764/
Messages:
{noformat}
Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.YetusPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
{noformat}
This message is automatically generated.
ATTACHMENT ID: 12987559 - PreCommit-HIVE-Build
> 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)