[ https://issues.apache.org/jira/browse/FLINK-3948?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15294781#comment-15294781 ]
Aljoscha Krettek commented on FLINK-3948: ----------------------------------------- RocksDB seems to be somewhat sensitive to the environment and configuration. I changed the configuration to this: {code} private static class RocksDbOptionsFactory implements OptionsFactory { final long targetFileSize = 100; final long writeBufferSize = 100; @Override public DBOptions createDBOptions(DBOptions currentOptions) { currentOptions .setMaxBackgroundCompactions(1) .setMaxBackgroundFlushes(1) .setMaxOpenFiles(1); return currentOptions; } @Override public ColumnFamilyOptions createColumnOptions(ColumnFamilyOptions currentOptions) { currentOptions .setTargetFileSizeBase(targetFileSize) .setMaxBytesForLevelBase(4 * targetFileSize) .setWriteBufferSize(writeBufferSize) .setMinWriteBufferNumberToMerge(1) .setMaxWriteBufferNumber(1); return currentOptions; } } {code} And now I even get this on my local machine: {code} # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x00000001288fb173, pid=53485, tid=62699 # # JRE version: Java(TM) SE Runtime Environment (8.0_40-b25) (build 1.8.0_40-b25) # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.40-b25 mixed mode bsd-amd64 compressed oops) # Problematic frame: # C [librocksdbjni2649341092967859180..jnilib+0xc0173] rocksdb::TableCache::FindTable(rocksdb::EnvOptions const&, rocksdb::InternalKeyComparator const&, rocksdb::FileDescriptor const&, rocksdb::Cache::Handle**, bool, bool, rocksdb::HistogramImpl*)+0x93 # # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again # # An error report file with more information is saved as: # /Users/aljoscha/Dev/work/flink/flink-tests/hs_err_pid53485.log [thread 25603 also had an error] # # If you would like to submit a bug report, please visit: # http://bugreport.java.com/bugreport/crash.jsp # The crash happened outside the Java Virtual Machine in native code. # See problematic frame for where to report the bug. # {code} > EventTimeWindowCheckpointingITCase Fails with Core Dump > ------------------------------------------------------- > > Key: FLINK-3948 > URL: https://issues.apache.org/jira/browse/FLINK-3948 > Project: Flink > Issue Type: Bug > Components: state backends > Reporter: Aljoscha Krettek > Assignee: Aljoscha Krettek > Priority: Critical > > It fails because of a core dump in RocksDB. -- This message was sent by Atlassian JIRA (v6.3.4#6332)