You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Quanlong Huang (Jira)" <ji...@apache.org> on 2022/10/09 01:38:00 UTC
[jira] [Created] (IMPALA-11644) updateLatestEventId should handle cases of empty events
Quanlong Huang created IMPALA-11644:
---------------------------------------
Summary: updateLatestEventId should handle cases of empty events
Key: IMPALA-11644
URL: https://issues.apache.org/jira/browse/IMPALA-11644
Project: IMPALA
Issue Type: Bug
Components: Catalog
Affects Versions: Impala 4.2.0
Reporter: Quanlong Huang
Assignee: Quanlong Huang
IMPALA-11490 adds a catalog metrics of latest event id in HMS. The retention duration of notification events is 24 hours by default. If they are cleaned up and there are no more events, the thread for updating latest event id will encounter the following exception:
{noformat}
E1009 09:29:13.774916 11395 MetastoreEventsProcessor.java:898] Unable to update current notification event id. Last value: -1
Java exception follows:
java.util.NoSuchElementException
at java.util.ArrayList$Itr.next(ArrayList.java:864)
at org.apache.impala.catalog.events.MetastoreEventsProcessor.updateLatestEventId(MetastoreEventsProcessor.java:891)
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) {noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org