You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Xingbo Huang (Jira)" <ji...@apache.org> on 2022/10/11 02:20:00 UTC

[jira] [Closed] (FLINK-29462) LookupJoinITCase failed on azure due to classloader leaking

     [ https://issues.apache.org/jira/browse/FLINK-29462?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xingbo Huang closed FLINK-29462.
--------------------------------
    Resolution: Duplicate

> LookupJoinITCase failed on azure due to classloader leaking
> -----------------------------------------------------------
>
>                 Key: FLINK-29462
>                 URL: https://issues.apache.org/jira/browse/FLINK-29462
>             Project: Flink
>          Issue Type: Bug
>          Components: Table SQL / Planner
>    Affects Versions: 1.16.0
>            Reporter: Yun Gao
>            Priority: Critical
>              Labels: test-stability
>
> {code:java}
> 09:53:45,656 [ForkJoinPool.commonPool-worker-8] WARN  org.apache.flink.table.runtime.generated.GeneratedClass      [] - Failed to compile split code, falling back to original code
> org.apache.flink.util.FlinkRuntimeException: org.apache.flink.api.common.InvalidProgramException: Table program cannot be compiled. This is a bug. Please file an issue.
> 	at org.apache.flink.table.runtime.generated.CompileUtils.compile(CompileUtils.java:94) ~[flink-table-runtime-1.17-SNAPSHOT.jar:1.17-SNAPSHOT]
> 	at org.apache.flink.table.runtime.generated.GeneratedClass.compile(GeneratedClass.java:97) ~[flink-table-runtime-1.17-SNAPSHOT.jar:1.17-SNAPSHOT]
> 	at org.apache.flink.table.runtime.generated.GeneratedClass.newInstance(GeneratedClass.java:68) ~[flink-table-runtime-1.17-SNAPSHOT.jar:1.17-SNAPSHOT]
> 	at org.apache.flink.table.runtime.keyselector.GenericRowDataKeySelector.open(GenericRowDataKeySelector.java:50) ~[flink-table-runtime-1.17-SNAPSHOT.jar:1.17-SNAPSHOT]
> 	at org.apache.flink.table.runtime.functions.table.lookup.fullcache.inputformat.InputSplitCacheLoadTask.<init>(InputSplitCacheLoadTask.java:60) ~[flink-table-runtime-1.17-SNAPSHOT.jar:1.17-SNAPSHOT]
> 	at org.apache.flink.table.runtime.functions.table.lookup.fullcache.inputformat.InputFormatCacheLoader.createCacheLoadTask(InputFormatCacheLoader.java:135) ~[flink-table-runtime-1.17-SNAPSHOT.jar:1.17-SNAPSHOT]
> 	at org.apache.flink.table.runtime.functions.table.lookup.fullcache.inputformat.InputFormatCacheLoader.lambda$reloadCache$0(InputFormatCacheLoader.java:84) ~[flink-table-runtime-1.17-SNAPSHOT.jar:1.17-SNAPSHOT]
> 	at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) [?:1.8.0_292]
> 	at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948) [?:1.8.0_292]
> 	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482) [?:1.8.0_292]
> 	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472) [?:1.8.0_292]
> 	at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708) [?:1.8.0_292]
> 	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) [?:1.8.0_292]
> 	at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:566) [?:1.8.0_292]
> 	at org.apache.flink.table.runtime.functions.table.lookup.fullcache.inputformat.InputFormatCacheLoader.reloadCache(InputFormatCacheLoader.java:85) [flink-table-runtime-1.17-SNAPSHOT.jar:1.17-SNAPSHOT]
> 	at org.apache.flink.table.runtime.functions.table.lookup.fullcache.CacheLoader.run(CacheLoader.java:105) [flink-table-runtime-1.17-SNAPSHOT.jar:1.17-SNAPSHOT]
> 	at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1640) [?:1.8.0_292]
> 	at java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1632) [?:1.8.0_292]
> 	at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) [?:1.8.0_292]
> 	at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) [?:1.8.0_292]
> 	at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692) [?:1.8.0_292]
> 	at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:175) [?:1.8.0_292]
> Caused by: org.apache.flink.shaded.guava30.com.google.common.util.concurrent.UncheckedExecutionException: org.apache.flink.api.common.InvalidProgramException: Table program cannot be compiled. This is a bug. Please file an issue.
> 	at org.apache.flink.shaded.guava30.com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2051) ~[flink-shaded-guava-30.1.1-jre-15.0.jar:30.1.1-jre-15.0]
> 	at org.apache.flink.shaded.guava30.com.google.common.cache.LocalCache.get(LocalCache.java:3962) ~[flink-shaded-guava-30.1.1-jre-15.0.jar:30.1.1-jre-15.0]
> 	at org.apache.flink.shaded.guava30.com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4859) ~[flink-shaded-guava-30.1.1-jre-15.0.jar:30.1.1-jre-15.0]
> 	at org.apache.flink.table.runtime.generated.CompileUtils.compile(CompileUtils.java:92) ~[flink-table-runtime-1.17-SNAPSHOT.jar:1.17-SNAPSHOT]
> 	... 21 more
> Caused by: org.apache.flink.api.common.InvalidProgramException: Table program cannot be compiled. This is a bug. Please file an issue.
> 	at org.apache.flink.table.runtime.generated.CompileUtils.doCompile(CompileUtils.java:107) ~[flink-table-runtime-1.17-SNAPSHOT.jar:1.17-SNAPSHOT]
> 	at org.apache.flink.table.runtime.generated.CompileUtils.lambda$compile$0(CompileUtils.java:92) ~[flink-table-runtime-1.17-SNAPSHOT.jar:1.17-SNAPSHOT]
> 	at org.apache.flink.shaded.guava30.com.google.common.cache.LocalCache$LocalManualCache$1.load(LocalCache.java:4864) ~[flink-shaded-guava-30.1.1-jre-15.0.jar:30.1.1-jre-15.0]
> 	at org.apache.flink.shaded.guava30.com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3529) ~[flink-shaded-guava-30.1.1-jre-15.0.jar:30.1.1-jre-15.0]
> 	at org.apache.flink.shaded.guava30.com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2278) ~[flink-shaded-guava-30.1.1-jre-15.0.jar:30.1.1-jre-15.0]
> 	at org.apache.flink.shaded.guava30.com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2155) ~[flink-shaded-guava-30.1.1-jre-15.0.jar:30.1.1-jre-15.0]
> 	at org.apache.flink.shaded.guava30.com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2045) ~[flink-shaded-guava-30.1.1-jre-15.0.jar:30.1.1-jre-15.0]
> 	at org.apache.flink.shaded.guava30.com.google.common.cache.LocalCache.get(LocalCache.java:3962) ~[flink-shaded-guava-30.1.1-jre-15.0.jar:30.1.1-jre-15.0]
> 	at org.apache.flink.shaded.guava30.com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4859) ~[flink-shaded-guava-30.1.1-jre-15.0.jar:30.1.1-jre-15.0]
> 	at org.apache.flink.table.runtime.generated.CompileUtils.compile(CompileUtils.java:92) ~[flink-table-runtime-1.17-SNAPSHOT.jar:1.17-SNAPSHOT]
> 	... 21 more
> Caused by: org.codehaus.janino.InternalCompilerException: Compiling "KeyProjection$157529": Trying to access closed classloader. Please check if you store classloaders directly or indirectly in static fields. If the stacktrace suggests that the leak occurs in a third party library and cannot be fixed immediately, you can disable this check with the configuration 'classloader.check-leaked-classloader'.
> 	at org.codehaus.janino.UnitCompiler.compileUnit(UnitCompiler.java:382) ~[janino-3.0.11.jar:?]
> 	at org.codehaus.janino.SimpleCompiler.cook(SimpleCompiler.java:237) ~[janino-3.0.11.jar:?]
> 	at org.codehaus.janino.SimpleCompiler.compileToClassLoader(SimpleCompiler.java:465) ~[janino-3.0.11.jar:?]
> 	at org.codehaus.janino.SimpleCompiler.cook(SimpleCompiler.java:216) ~[janino-3.0.11.jar:?]
> 	at org.codehaus.janino.SimpleCompiler.cook(SimpleCompiler.java:207) ~[janino-3.0.11.jar:?]
> 	at org.codehaus.commons.compiler.Cookable.cook(Cookable.java:80) ~[commons-compiler-3.0.11.jar:?]
> 	at org.codehaus.commons.compiler.Cookable.cook(Cookable.java:75) ~[commons-compiler-3.0.11.jar:?]
> 	at org.apache.flink.table.runtime.generated.CompileUtils.doCompile(CompileUtils.java:104) ~[flink-table-runtime-1.17-SNAPSHOT.jar:1.17-SNAPSHOT]
> 	at org.apache.flink.table.runtime.generated.CompileUtils.lambda$compile$0(CompileUtils.java:92) ~[flink-table-runtime-1.17-SNAPSHOT.jar:1.17-SNAPSHOT]
> 	at org.apache.flink.shaded.guava30.com.google.common.cache.LocalCache$LocalManualCache$1.load(LocalCache.java:4864) ~[flink-shaded-guava-30.1.1-jre-15.0.jar:30.1.1-jre-15.0]
> 	at org.apache.flink.shaded.guava30.com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3529) ~[flink-shaded-guava-30.1.1-jre-15.0.jar:30.1.1-jre-15.0]
> 	at org.apache.flink.shaded.guava30.com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2278) ~[flink-shaded-guava-30.1.1-jre-15.0.jar:30.1.1-jre-15.0]
> 	at org.apache.flink.shaded.guava30.com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2155) ~[flink-shaded-guava-30.1.1-jre-15.0.jar:30.1.1-jre-15.0]
> 	at org.apache.flink.shaded.guava30.com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2045) ~[flink-shaded-guava-30.1.1-jre-15.0.jar:30.1.1-jre-15.0]
> 	at org.apache.flink.shaded.guava30.com.google.common.cache.LocalCache.get(LocalCache.java:3962) ~[flink-shaded-guava-30.1.1-jre-15.0.jar:30.1.1-jre-15.0]
> 	at org.apache.flink.shaded.guava30.com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4859) ~[flink-shaded-guava-30.1.1-jre-15.0.jar:30.1.1-jre-15.0]
> 	at org.apache.flink.table.runtime.generated.CompileUtils.compile(CompileUtils.java:92) ~[flink-table-runtime-1.17-SNAPSHOT.jar:1.17-SNAPSHOT]
> 	... 21 more
> Caused by: java.lang.IllegalStateException: Trying to access closed classloader. Please check if you store classloaders directly or indirectly in static fields. If the stacktrace suggests that the leak occurs in a third party library and cannot be fixed immediately, you can disable this check with the configuration 'classloader.check-leaked-classloader'.
> 	at org.apache.flink.util.FlinkUserCodeClassLoaders$SafetyNetWrapperClassLoader.ensureInner(FlinkUserCodeClassLoaders.java:184) ~[flink-core-1.17-SNAPSHOT.jar:1.17-SNAPSHOT]
> 	at org.apache.flink.util.FlinkUserCodeClassLoaders$SafetyNetWrapperClassLoader.loadClass(FlinkUserCodeClassLoaders.java:192) ~[flink-core-1.17-SNAPSHOT.jar:1.17-SNAPSHOT]
> 	at java.lang.Class.forName0(Native Method) ~[?:1.8.0_292]
> 	at java.lang.Class.forName(Class.java:348) ~[?:1.8.0_292]
> 	at org.codehaus.janino.ClassLoaderIClassLoader.findIClass(ClassLoaderIClassLoader.java:89) ~[janino-3.0.11.jar:?]
> 	at org.codehaus.janino.IClassLoader.loadIClass(IClassLoader.java:312) ~[janino-3.0.11.jar:?]
> 	at org.codehaus.janino.UnitCompiler.findTypeByName(UnitCompiler.java:8556) ~[janino-3.0.11.jar:?]
> 	at org.codehaus.janino.UnitCompiler.getReferenceType(UnitCompiler.java:6749) ~[janino-3.0.11.jar:?]
> 	at org.codehaus.janino.UnitCompiler.getReferenceType(UnitCompiler.java:6594) ~[janino-3.0.11.jar:?]
> 	at org.codehaus.janino.UnitCompiler.getType2(UnitCompiler.java:6573) ~[janino-3.0.11.jar:?]
> 	at org.codehaus.janino.UnitCompiler.access$13900(UnitCompiler.java:215) ~[janino-3.0.11.jar:?]
> 	at org.codehaus.janino.UnitCompiler$22$1.visitReferenceType(UnitCompiler.java:6481) ~[janino-3.0.11.jar:?]
> 	at org.codehaus.janino.UnitCompiler$22$1.visitReferenceType(UnitCompiler.java:6476) ~[janino-3.0.11.jar:?]
> 	at org.codehaus.janino.Java$ReferenceType.accept(Java.java:3928) ~[janino-3.0.11.jar:?]
> 	at org.codehaus.janino.UnitCompiler$22.visitType(UnitCompiler.java:6476) ~[janino-3.0.11.jar:?]
> 	at org.codehaus.janino.UnitCompiler$22.visitType(UnitCompiler.java:6469) ~[janino-3.0.11.jar:?]
> 	at org.codehaus.janino.Java$ReferenceType.accept(Java.java:3927) ~[janino-3.0.11.jar:?]
> 	at org.codehaus.janino.UnitCompiler.getType(UnitCompiler.java:6469) ~[janino-3.0.11.jar:?]
> 	at org.codehaus.janino.UnitCompiler.hasAnnotation(UnitCompiler.java:1365) ~[janino-3.0.11.jar:?]
> 	at org.codehaus.janino.UnitCompiler.compileDeclaredMethods(UnitCompiler.java:1349) ~[janino-3.0.11.jar:?]
> 	at org.codehaus.janino.UnitCompiler.compileDeclaredMethods(UnitCompiler.java:1330) ~[janino-3.0.11.jar:?]
> 	at org.codehaus.janino.UnitCompiler.compile2(UnitCompiler.java:822) ~[janino-3.0.11.jar:?]
> 	at org.codehaus.janino.UnitCompiler.compile2(UnitCompiler.java:432) ~[janino-3.0.11.jar:?]
> 	at org.codehaus.janino.UnitCompiler.access$400(UnitCompiler.java:215) ~[janino-3.0.11.jar:?]
> 	at org.codehaus.janino.UnitCompiler$2.visitPackageMemberClassDeclaration(UnitCompiler.java:411) ~[janino-3.0.11.jar:?]
> 	at org.codehaus.janino.UnitCompiler$2.visitPackageMemberClassDeclaration(UnitCompiler.java:406) ~[janino-3.0.11.jar:?]
> 	at org.codehaus.janino.Java$PackageMemberClassDeclaration.accept(Java.java:1414) ~[janino-3.0.11.jar:?]
> 	at org.codehaus.janino.UnitCompiler.compile(UnitCompiler.java:406) ~[janino-3.0.11.jar:?]
> 	at org.codehaus.janino.UnitCompiler.compileUnit(UnitCompiler.java:378) ~[janino-3.0.11.jar:?]
> 	at org.codehaus.janino.SimpleCompiler.cook(SimpleCompiler.java:237) ~[janino-3.0.11.jar:?]
> 	at org.codehaus.janino.SimpleCompiler.compileToClassLoader(SimpleCompiler.java:465) ~[janino-3.0.11.jar:?]
> 	at org.codehaus.janino.SimpleCompiler.cook(SimpleCompiler.java:216) ~[janino-3.0.11.jar:?]
> 	at org.codehaus.janino.SimpleCompiler.cook(SimpleCompiler.java:207) ~[janino-3.0.11.jar:?]
> 	at org.codehaus.commons.compiler.Cookable.cook(Cookable.java:80) ~[commons-compiler-3.0.11.jar:?]
> 	at org.codehaus.commons.compiler.Cookable.cook(Cookable.java:75) ~[commons-compiler-3.0.11.jar:?]
> 	at org.apache.flink.table.runtime.generated.CompileUtils.doCompile(CompileUtils.java:104) ~[flink-table-runtime-1.17-SNAPSHOT.jar:1.17-SNAPSHOT]
> 	at org.apache.flink.table.runtime.generated.CompileUtils.lambda$compile$0(CompileUtils.java:92) ~[flink-table-runtime-1.17-SNAPSHOT.jar:1.17-SNAPSHOT]
> 	at org.apache.flink.shaded.guava30.com.google.common.cache.LocalCache$LocalManualCache$1.load(LocalCache.java:4864) ~[flink-shaded-guava-30.1.1-jre-15.0.jar:30.1.1-jre-15.0]
> 	at org.apache.flink.shaded.guava30.com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3529) ~[flink-shaded-guava-30.1.1-jre-15.0.jar:30.1.1-jre-15.0]
> 	at org.apache.flink.shaded.guava30.com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2278) ~[flink-shaded-guava-30.1.1-jre-15.0.jar:30.1.1-jre-15.0]
> 	at org.apache.flink.shaded.guava30.com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2155) ~[flink-shaded-guava-30.1.1-jre-15.0.jar:30.1.1-jre-15.0]
> 	at org.apache.flink.shaded.guava30.com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2045) ~[flink-shaded-guava-30.1.1-jre-15.0.jar:30.1.1-jre-15.0]
> 	at org.apache.flink.shaded.guava30.com.google.common.cache.LocalCache.get(LocalCache.java:3962) ~[flink-shaded-guava-30.1.1-jre-15.0.jar:30.1.1-jre-15.0]
> 	at org.apache.flink.shaded.guava30.com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4859) ~[flink-shaded-guava-30.1.1-jre-15.0.jar:30.1.1-jre-15.0]
> 	at org.apache.flink.table.runtime.generated.CompileUtils.compile(CompileUtils.java:92) ~[flink-table-runtime-1.17-SNAPSHOT.jar:1.17-SNAPSHOT]
> 	... 21 more
> 09:53:45,659 [Source: T[11085] -> LookupJoin[11086] -> Calc[11087] -> Sink: Collect table sink (1/1)#0] INFO  org.apache.flink.runtime.taskmanager.Task                    [] - Source: T[11085] -> LookupJoin[11086] -> Calc[11087] -> Sink: Collect table sink (1/1)#0 (ad34f49f737d0018eca963aeff39d79c_cbc357ccb763df2852fee8c4fc7d55f2_0_0) switched from INITIALIZING to RUNNING.
> 09:53:45,659 [flink-akka.actor.default-dispatcher-11] INFO  org.apache.flink.runtime.executiongraph.ExecutionGraph       [] - Source: T[11085] -> LookupJoin[11086] -> Calc[11087] -> Sink: Collect table sink (1/1) (ad34f49f737d0018eca963aeff39d79c_cbc357ccb763df2852fee8c4fc7d55f2_0_0) switched from INITIALIZING to RUNNING.
> 09:53:45,662 [Source: T[11085] -> LookupJoin[11086] -> Calc[11087] -> Sink: Collect table sink (1/1)#0] WARN  org.apache.flink.runtime.taskmanager.Task                    [] - Source: T[11085] -> LookupJoin[11086] -> Calc[11087] -> Sink: Collect table sink (1/1)#0 (ad34f49f737d0018eca963aeff39d79c_cbc357ccb763df2852fee8c4fc7d55f2_0_0) switched from RUNNING to FAILED with failure cause: java.lang.RuntimeException: java.util.concurrent.CompletionException: java.lang.RuntimeException: Failed to reload lookup 'FULL' cache.
> 	at org.apache.flink.table.runtime.functions.table.lookup.fullcache.LookupFullCache.getIfPresent(LookupFullCache.java:85)
> 	at org.apache.flink.table.runtime.functions.table.lookup.CachingLookupFunction.lookup(CachingLookupFunction.java:123)
> 	at org.apache.flink.table.functions.LookupFunction.eval(LookupFunction.java:52)
> 	at LookupFunction$157537.flatMap(Unknown Source)
> 	at org.apache.flink.table.runtime.operators.join.lookup.LookupJoinRunner.doFetch(LookupJoinRunner.java:92)
> 	at org.apache.flink.table.runtime.operators.join.lookup.LookupJoinRunner.processElement(LookupJoinRunner.java:79)
> 	at org.apache.flink.table.runtime.operators.join.lookup.LookupJoinRunner.processElement(LookupJoinRunner.java:34)
> 	at org.apache.flink.streaming.api.operators.ProcessOperator.processElement(ProcessOperator.java:66)
> 	at org.apache.flink.streaming.runtime.tasks.ChainingOutput.pushToOperator(ChainingOutput.java:99)
> 	at org.apache.flink.streaming.runtime.tasks.ChainingOutput.collect(ChainingOutput.java:80)
> 	at org.apache.flink.streaming.runtime.tasks.ChainingOutput.collect(ChainingOutput.java:39)
> 	at org.apache.flink.streaming.api.operators.CountingOutput.collect(CountingOutput.java:56)
> 	at org.apache.flink.streaming.api.operators.CountingOutput.collect(CountingOutput.java:29)
> 	at org.apache.flink.streaming.api.operators.StreamSourceContexts$ManualWatermarkContext.processAndCollect(StreamSourceContexts.java:418)
> 	at org.apache.flink.streaming.api.operators.StreamSourceContexts$WatermarkContext.collect(StreamSourceContexts.java:513)
> 	at org.apache.flink.streaming.api.operators.StreamSourceContexts$SwitchingOnClose.collect(StreamSourceContexts.java:103)
> 	at org.apache.flink.streaming.api.functions.source.FromElementsFunction.run(FromElementsFunction.java:231)
> 	at org.apache.flink.streaming.api.operators.StreamSource.run(StreamSource.java:110)
> 	at org.apache.flink.streaming.api.operators.StreamSource.run(StreamSource.java:67)
> 	at org.apache.flink.streaming.runtime.tasks.SourceStreamTask$LegacySourceFunctionThread.run(SourceStreamTask.java:333)
> Caused by: java.util.concurrent.CompletionException: java.lang.RuntimeException: Failed to reload lookup 'FULL' cache.
> 	at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273)
> 	at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280)
> 	at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1643)
> 	at java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1632)
> 	at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
> 	at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
> 	at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
> 	at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:175)
> Caused by: java.lang.RuntimeException: Failed to reload lookup 'FULL' cache.
> 	at org.apache.flink.table.runtime.functions.table.lookup.fullcache.CacheLoader.run(CacheLoader.java:121)
> 	at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1640)
> 	... 5 more
> Caused by: java.lang.RuntimeException: Failed to create InputFormatCacheLoadTask
> 	at org.apache.flink.table.runtime.functions.table.lookup.fullcache.inputformat.InputFormatCacheLoader.createCacheLoadTask(InputFormatCacheLoader.java:137)
> 	at org.apache.flink.table.runtime.functions.table.lookup.fullcache.inputformat.InputFormatCacheLoader.lambda$reloadCache$0(InputFormatCacheLoader.java:84)
> 	at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
> 	at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948)
> 	at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482)
> 	at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
> 	at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
> 	at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
> 	at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:566)
> 	at org.apache.flink.table.runtime.functions.table.lookup.fullcache.inputformat.InputFormatCacheLoader.reloadCache(InputFormatCacheLoader.java:85)
> 	at org.apache.flink.table.runtime.functions.table.lookup.fullcache.CacheLoader.run(CacheLoader.java:105)
> 	... 6 more
> Caused by: java.lang.RuntimeException: Could not instantiate generated class 'KeyProjection$157529'
> 	at org.apache.flink.table.runtime.generated.GeneratedClass.newInstance(GeneratedClass.java:74)
> 	at org.apache.flink.table.runtime.keyselector.GenericRowDataKeySelector.open(GenericRowDataKeySelector.java:50)
> 	at org.apache.flink.table.runtime.functions.table.lookup.fullcache.inputformat.InputSplitCacheLoadTask.<init>(InputSplitCacheLoadTask.java:60)
> 	at org.apache.flink.table.runtime.functions.table.lookup.fullcache.inputformat.InputFormatCacheLoader.createCacheLoadTask(InputFormatCacheLoader.java:135)
> 	... 16 more
> Caused by: org.apache.flink.util.FlinkRuntimeException: org.apache.flink.api.common.InvalidProgramException: Table program cannot be compiled. This is a bug. Please file an issue.
> 	at org.apache.flink.table.runtime.generated.CompileUtils.compile(CompileUtils.java:94)
> 	at org.apache.flink.table.runtime.generated.GeneratedClass.compile(GeneratedClass.java:101)
> 	at org.apache.flink.table.runtime.generated.GeneratedClass.newInstance(GeneratedClass.java:68)
> 	... 19 more
> Caused by: org.apache.flink.shaded.guava30.com.google.common.util.concurrent.UncheckedExecutionException: org.apache.flink.api.common.InvalidProgramException: Table program cannot be compiled. This is a bug. Please file an issue.
> 	at org.apache.flink.shaded.guava30.com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2051)
> 	at org.apache.flink.shaded.guava30.com.google.common.cache.LocalCache.get(LocalCache.java:3962)
> 	at org.apache.flink.shaded.guava30.com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4859)
> 	at org.apache.flink.table.runtime.generated.CompileUtils.compile(CompileUtils.java:92)
> 	... 21 more
> Caused by: org.apache.flink.api.common.InvalidProgramException: Table program cannot be compiled. This is a bug. Please file an issue.
> 	at org.apache.flink.table.runtime.generated.CompileUtils.doCompile(CompileUtils.java:107)
> 	at org.apache.flink.table.runtime.generated.CompileUtils.lambda$compile$0(CompileUtils.java:92)
> 	at org.apache.flink.shaded.guava30.com.google.common.cache.LocalCache$LocalManualCache$1.load(LocalCache.java:4864)
> 	at org.apache.flink.shaded.guava30.com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3529)
> 	at org.apache.flink.shaded.guava30.com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2278)
> 	at org.apache.flink.shaded.guava30.com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2155)
> 	at org.apache.flink.shaded.guava30.com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2045)
> 	... 24 more
> Caused by: org.codehaus.janino.InternalCompilerException: Compiling "KeyProjection$157529": Trying to access closed classloader. Please check if you store classloaders directly or indirectly in static fields. If the stacktrace suggests that the leak occurs in a third party library and cannot be fixed immediately, you can disable this check with the configuration 'classloader.check-leaked-classloader'.
> 	at org.codehaus.janino.UnitCompiler.compileUnit(UnitCompiler.java:382)
> 	at org.codehaus.janino.SimpleCompiler.cook(SimpleCompiler.java:237)
> 	at org.codehaus.janino.SimpleCompiler.compileToClassLoader(SimpleCompiler.java:465)
> 	at org.codehaus.janino.SimpleCompiler.cook(SimpleCompiler.java:216)
> 	at org.codehaus.janino.SimpleCompiler.cook(SimpleCompiler.java:207)
> 	at org.codehaus.commons.compiler.Cookable.cook(Cookable.java:80)
> 	at org.codehaus.commons.compiler.Cookable.cook(Cookable.java:75)
> 	at org.apache.flink.table.runtime.generated.CompileUtils.doCompile(CompileUtils.java:104)
> 	... 30 more
> Caused by: java.lang.IllegalStateException: Trying to access closed classloader. Please check if you store classloaders directly or indirectly in static fields. If the stacktrace suggests that the leak occurs in a third party library and cannot be fixed immediately, you can disable this check with the configuration 'classloader.check-leaked-classloader'.
> 	at org.apache.flink.util.FlinkUserCodeClassLoaders$SafetyNetWrapperClassLoader.ensureInner(FlinkUserCodeClassLoaders.java:184)
> 	at org.apache.flink.util.FlinkUserCodeClassLoaders$SafetyNetWrapperClassLoader.loadClass(FlinkUserCodeClassLoaders.java:192)
> 	at java.lang.Class.forName0(Native Method)
> 	at java.lang.Class.forName(Class.java:348)
> 	at org.codehaus.janino.ClassLoaderIClassLoader.findIClass(ClassLoaderIClassLoader.java:89)
> 	at org.codehaus.janino.IClassLoader.loadIClass(IClassLoader.java:312)
> 	at org.codehaus.janino.UnitCompiler.findTypeByName(UnitCompiler.java:8556)
> 	at org.codehaus.janino.UnitCompiler.getReferenceType(UnitCompiler.java:6749)
> 	at org.codehaus.janino.UnitCompiler.getReferenceType(UnitCompiler.java:6594)
> 	at org.codehaus.janino.UnitCompiler.getType2(UnitCompiler.java:6573)
> 	at org.codehaus.janino.UnitCompiler.access$13900(UnitCompiler.java:215)
> 	at org.codehaus.janino.UnitCompiler$22$1.visitReferenceType(UnitCompiler.java:6481)
> 	at org.codehaus.janino.UnitCompiler$22$1.visitReferenceType(UnitCompiler.java:6476)
> 	at org.codehaus.janino.Java$ReferenceType.accept(Java.java:3928)
> 	at org.codehaus.janino.UnitCompiler$22.visitType(UnitCompiler.java:6476)
> 	at org.codehaus.janino.UnitCompiler$22.visitType(UnitCompiler.java:6469)
> 	at org.codehaus.janino.Java$ReferenceType.accept(Java.java:3927)
> 	at org.codehaus.janino.UnitCompiler.getType(UnitCompiler.java:6469)
> 	at org.codehaus.janino.UnitCompiler.hasAnnotation(UnitCompiler.java:1365)
> 	at org.codehaus.janino.UnitCompiler.compileDeclaredMethods(UnitCompiler.java:1349)
> 	at org.codehaus.janino.UnitCompiler.compileDeclaredMethods(UnitCompiler.java:1330)
> 	at org.codehaus.janino.UnitCompiler.compile2(UnitCompiler.java:822)
> 	at org.codehaus.janino.UnitCompiler.compile2(UnitCompiler.java:432)
> 	at org.codehaus.janino.UnitCompiler.access$400(UnitCompiler.java:215)
> 	at org.codehaus.janino.UnitCompiler$2.visitPackageMemberClassDeclaration(UnitCompiler.java:411)
> 	at org.codehaus.janino.UnitCompiler$2.visitPackageMemberClassDeclaration(UnitCompiler.java:406)
> 	at org.codehaus.janino.Java$PackageMemberClassDeclaration.accept(Java.java:1414)
> 	at org.codehaus.janino.UnitCompiler.compile(UnitCompiler.java:406)
> 	at org.codehaus.janino.UnitCompiler.compileUnit(UnitCompiler.java:378)
> 	... 37 more {code}
>  
> https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=41378&view=logs&j=0c940707-2659-5648-cbe6-a1ad63045f0a&t=075c2716-8010-5565-fe08-3c4bb45824a4&l=17846



--
This message was sent by Atlassian Jira
(v8.20.10#820010)