leizhiyuan commented on issue #16827:
URL: https://github.com/apache/pulsar/issues/16827#issuecomment-1209211578

   It maybe an issue of flink classloader
   
   ```
   Caused by: java.lang.ClassNotFoundException: 
org.apache.pulsar.shade.io.netty.buffer.PoolArena$1
   at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
   at 
org.apache.flink.runtime.execution.librarycache.FlinkUserCodeClassLoaders$ChildFirstClassLoader.loadClass(FlinkUserCodeClassLoaders.java:129)
   ```
   
   if you can debug this , you can  print 
   
   
org.apache.flink.runtime.execution.librarycache.FlinkUserCodeClassLoaders$ChildFirstClassLoader
   
   
   ```
   
.loadClass("org.apache.pulsar.shade.io.netty.buffer.PoolArena").getProtectionDomain().getCodeSource().getLocation()
   ```
   to see which one is loaded by this classloader , and see the original jar 
file.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to