[ https://issues.apache.org/jira/browse/FLINK-23649?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yun Tang resolved FLINK-23649. ------------------------------ Resolution: Fixed Merged in master: d57d9f84d84408547e00f3a715e8f05b4408af11 > Add RocksDB packages to parent-first classloading patterns. > ----------------------------------------------------------- > > Key: FLINK-23649 > URL: https://issues.apache.org/jira/browse/FLINK-23649 > Project: Flink > Issue Type: Bug > Components: API / Core > Affects Versions: 1.13.2 > Reporter: Stephan Ewen > Assignee: Yun Tang > Priority: Major > Labels: pull-request-available > Fix For: 1.14.0 > > > RocksDB classes are currently loaded child-first. > Because of that, it can happen that the RocksDB library is attempted to be > loaded multiple times (by different classloaders). > That is prevented by JNI and results in an error as reported in this mail for > example > https://lists.apache.org/x/thread.html/rbc3ca24efe13b25e802af9739a6877276503363ffbdc5914ffdad7be@%3Cuser.flink.apache.org%3E > We should prevent accidental repeated loading of RocksDB, because we rely on > the fact that only one DB is created per task. -- This message was sent by Atlassian Jira (v8.3.4#803005)