[jira] [Created] (FLINK-5925) Clean up extracted RocksDB JNI library

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-5925) Clean up extracted RocksDB JNI library

Shang Yuanchun (Jira)
Till Rohrmann created FLINK-5925:
------------------------------------

             Summary: Clean up extracted RocksDB JNI library
                 Key: FLINK-5925
                 URL: https://issues.apache.org/jira/browse/FLINK-5925
             Project: Flink
          Issue Type: Bug
          Components: State Backends, Checkpointing
    Affects Versions: 1.2.0, 1.3.0
            Reporter: Till Rohrmann


The {{RocksDBStateBackend}} extracts the RocksDB jni library from the RocksDB dependency in a temp directory (see {{RocksDBStateBackend#ensureRocksDBIsLoaded}}). This file is, however, never removed.

In general, I think we should add a cleanup mechanism which cleans all {{Task}} specific files after the {{Task}} has completed. The same applies to the {{TaskManager}}.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)