JuiceFV commented on issue #9097:
URL: https://github.com/apache/iceberg/issues/9097#issuecomment-2750888226

   > [@JuiceFV](https://github.com/JuiceFV) can you let me know the fix for 
this?
   
   Oh, it's been a while ago :) But, as far as I remember, yeah I did the fix. 
As I mentioned the problem was in this reverse loading of jars (classpaths). 
Flinke doc says 
[this](https://nightlies.apache.org/flink/flink-docs-master/docs/ops/debugging/debugging_classloading/#unloading-of-dynamically-loaded-classes-in-user-code):
   
   > JDBC: JDBC drivers leak references outside the user code classloader. To 
ensure that these classes are only loaded once you should add the driver jars 
to Flink’s lib/ folder instead of bundling them in the user-jar. If you can’t 
guarantee that none of your user-jars bundle the driver, you have to 
additionally add the driver classes to the list of parent-first loaded classes 
via 
[classloader.parent-first-patterns.additional](https://nightlies.apache.org/flink/flink-docs-master/docs/deployment/config/#classloader-parent-first-patterns.additional).
   
   So, I would suggest you to add [classloader.resolve-order: 
parent-first](https://nightlies.apache.org/flink/flink-docs-master/docs/deployment/config/#classloader-resolve-order)
 to the Flink configuration.
   
   @rama-reddy 


-- 
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: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to