FLinkaccess closed classloader classloader.check-leaked-classloader
Posted 九师兄
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了FLinkaccess closed classloader classloader.check-leaked-classloader相关的知识,希望对你有一定的参考价值。
1.概述
本日在一个环境提交flink任务,这个flink任务原先适配了一下,使用的是flink 1.9.1,然后本次适配是使用 flink 1.12 然后提交任务的时候报错
Exception in thread "Thread-6" 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\'.
详情信息如下
Exception in thread "Thread-6"
以上是关于FLinkaccess closed classloader classloader.check-leaked-classloader的主要内容,如果未能解决你的问题,请参考以下文章
Class.getResourceAsStream()和ClassLoader.getResourceAsStream()