ighack created FLINK-22758:
------------------------------
Summary: java.lang.IllegalStateException: Trying to access closed classloader
Key: FLINK-22758
URL:
https://issues.apache.org/jira/browse/FLINK-22758 Project: Flink
Issue Type: Bug
Components: Table SQL / Client
Affects Versions: 1.12.3
Reporter: ighack
when I exit sql-client.sh I get a error
Shutting down the session...Shutting down the session...done.Exception in thread "Thread-4" 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.runtime.execution.librarycache.FlinkUserCodeClassLoaders$SafetyNetWrapperClassLoader.ensureInner(FlinkUserCodeClassLoaders.java:164) at org.apache.flink.runtime.execution.librarycache.FlinkUserCodeClassLoaders$SafetyNetWrapperClassLoader.getResource(FlinkUserCodeClassLoaders.java:183) at org.apache.hadoop.conf.Configuration.getResource(Configuration.java:2647) at org.apache.hadoop.conf.Configuration.getStreamReader(Configuration.java:2905) at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:2864) at org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:2838) at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:2715) at org.apache.hadoop.conf.Configuration.get(Configuration.java:1186) at org.apache.hadoop.conf.Configuration.getTimeDuration(Configuration.java:1774) at org.apache.hadoop.util.ShutdownHookManager.getShutdownTimeout(ShutdownHookManager.java:183) at org.apache.hadoop.util.ShutdownHookManager.shutdownExecutor(ShutdownHookManager.java:145) at org.apache.hadoop.util.ShutdownHookManager.access$300(ShutdownHookManager.java:65) at org.apache.hadoop.util.ShutdownHookManager$1.run(ShutdownHookManager.java:102)
I use CDH 6.3.2
hive 2.1.1
in $FLINK_HOME/lib I add
flink-connector-hive_2.11-1.12.3.jar
hive-exec-2.1.1-cdh6.3.2.jar
libfb303-0.9.3.jar
--
This message was sent by Atlassian Jira
(v8.3.4#803005)