Re: Lot of RocksDB files in tmp Directory

Posted by 施晓罡(星罡) on
URL: http://deprecated-apache-flink-user-mailing-list-archive.369.s1.nabble.com/Lot-of-RocksDB-files-in-tmp-Directory-tp9925p9926.html

RocksDB is orginally  implemented in C. To use it in Java, Flink uses a RocksDB jar with JNI techniques. 

Whenever a Flink job starts, the RocksDB libraries will be loaded. The file named librocksdb*.so will be extracted from the RocksDB jar and will be put in the tmp directory. So I think you have run Flink jobs many many times in the three days to get those 451 files.

I don’t think the numerous files are a big problem because they are located in the tmp directory and  they can be automatically cleaned by OS.

在 2016年11月7日,上午8:24,Dominique Rondé <[hidden email]> 写道:

Hi @ll,

we just change the backend from filesystem to RocksDB. Since that time (3 Days) we got 451 files with 1.8 GB stored in the tmp-Directory. All files are named librocksdb*.so

Did we something wrong or is it a Bug?

Greets
Dominique 



Von meinem Samsung Gerät gesendet.


smime.p7s (3K) Download Attachment