Pradeep V Badiger created STORM-3994: ----------------------------------------
Summary: Topology fails on LocalCluster on Windows because of missing librocksdbjni-win64.dll Key: STORM-3994 URL: https://issues.apache.org/jira/browse/STORM-3994 Project: Apache Storm Issue Type: Bug Affects Versions: 2.5.0 Environment: Windows 11, Java 11 Reporter: Pradeep V Badiger Apache Storm 2.5.0 upgraded rocksdbjni to 8.1.1 as part of STORM-3913 which does not include the native library for Windows. See below link [https://github.com/facebook/rocksdb/issues/11420] The topology fails on LocalCluster with the following error on Windows {noformat} Caused by: java.lang.ExceptionInInitializerError at org.apache.storm.metricstore.rocksdb.RocksDbStore.prepare(RocksDbStore.java:67) at org.apache.storm.metricstore.MetricStoreConfig.configure(MetricStoreConfig.java:34) at org.apache.storm.daemon.nimbus.Nimbus.<init>(Nimbus.java:542) at org.apache.storm.LocalCluster.<init>(LocalCluster.java:245) at org.apache.storm.LocalCluster.<init>(LocalCluster.java:160) at com.example.test.LocalTestCluster.<init>(LocalTestCluster.java:23) at com.example.test.ExampleTestDriver.<init>(ExampleTestDriver.java:73) at com.example.test.ExampleTest.<init>(ExampleTest.java:38) ... 28 more Caused by: java.lang.RuntimeException: librocksdbjni-win64.dll was not found inside JAR. at org.rocksdb.NativeLibraryLoader.loadLibraryFromJarToTemp(NativeLibraryLoader.java:118) at org.rocksdb.NativeLibraryLoader.loadLibraryFromJar(NativeLibraryLoader.java:102) at org.rocksdb.NativeLibraryLoader.loadLibrary(NativeLibraryLoader.java:82) at org.rocksdb.RocksDB.loadLibrary(RocksDB.java:70) at org.rocksdb.RocksDB.<clinit>(RocksDB.java:39) ... 37 more{noformat} The latest version of rockdbjni (8.5.4) includes the missing library. -- This message was sent by Atlassian Jira (v8.20.10#820010)