Stephan Ewen created FLINK-23649:
------------------------------------

             Summary: 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
             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)

Reply via email to