KubeTwillRunnerService error on shutdown

Description

2023-08-29 12:26:40,977 - DEBUG [TwillRunnerServiceWrapper STOPPING:i.c.c.c.l.c.UncaughtExceptionHandler@40] - Uncaught exception in thread Thread[TwillRunnerServiceWrapper STOPPING,5,main] java.util.ConcurrentModificationException: null at java.util.HashMap$KeySet.forEach(HashMap.java:937) at io.cdap.cdap.k8s.runtime.KubeTwillRunnerService.stopAndRemoveWatchers(KubeTwillRunnerService.java:1072) at io.cdap.cdap.k8s.runtime.KubeTwillRunnerService.stop(KubeTwillRunnerService.java:656) at io.cdap.cdap.master.environment.k8s.TwillRunnerServiceWrapper.shutDown(TwillRunnerServiceWrapper.java:42) at com.google.common.util.concurrent.AbstractIdleService$1$2.run(AbstractIdleService.java:57) at java.lang.Thread.run(Thread.java:750) 2023-08-29 12:26:40,977 - WARN [Thread-7:i.c.c.m.e.k.AbstractServiceMain@239] - Exception raised when stopping service TwillRunnerServiceWrapper [FAILED] for io.cdap.cdap.master.environment.k8s.AppFabricServiceMain com.google.common.util.concurrent.UncheckedExecutionException: java.util.ConcurrentModificationException at com.google.common.util.concurrent.Futures.wrapAndThrowUnchecked(Futures.java:1015) at com.google.common.util.concurrent.Futures.getUnchecked(Futures.java:1001) at com.google.common.util.concurrent.AbstractService.stopAndWait(AbstractService.java:225) at com.google.common.util.concurrent.AbstractIdleService.stopAndWait(AbstractIdleService.java:122) at io.cdap.cdap.master.environment.k8s.AbstractServiceMain.stop(AbstractServiceMain.java:236) at io.cdap.cdap.common.runtime.DaemonMain.lambda$doMain$0(DaemonMain.java:59) at java.lang.Thread.run(Thread.java:750) Caused by: java.util.ConcurrentModificationException: null at java.util.HashMap$KeySet.forEach(HashMap.java:937) at io.cdap.cdap.k8s.runtime.KubeTwillRunnerService.stopAndRemoveWatchers(KubeTwillRunnerService.java:1072) at io.cdap.cdap.k8s.runtime.KubeTwillRunnerService.stop(KubeTwillRunnerService.java:656) at io.cdap.cdap.master.environment.k8s.TwillRunnerServiceWrapper.shutDown(TwillRunnerServiceWrapper.java:42) at com.google.common.util.concurrent.AbstractIdleService$1$2.run(AbstractIdleService.java:57) ... 1 common frames omitted

Release Notes

None

Activity

Show:
Prashant Jaikumar
changed the StatusJanuary 4, 2024 at 6:25 PM
Resolved
Closed
Prashant Jaikumar
changed the StatusOctober 20, 2023 at 12:59 AM
Open
Resolved
Prashant Jaikumar
updated the ResolutionOctober 20, 2023 at 12:59 AM
None
Fixed
Prashant Jaikumar
updated the Fix versionsOctober 18, 2023 at 12:32 AM
None
6.10.0
Prashant Jaikumar
updated the Fix versionsOctober 18, 2023 at 12:32 AM
None
6.9.2.2
Prashant Jaikumar
changed the AssigneeOctober 12, 2023 at 9:58 PM
Unassigned
Prashant Jaikumar
Prashant Jaikumar
created the IssueAugust 30, 2023 at 11:05 PM
Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Affects versions

Triaged

Yes

Components

Fix versions

Priority

Created August 30, 2023 at 11:05 PM
Updated January 4, 2024 at 6:25 PM
Resolved October 20, 2023 at 12:59 AM