Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
2.0.0
-
None
-
Windows 10 64-bit
Description
The version of rocks referenced by storm 2 cannot be used on windows 10 due to https://github.com/facebook/rocksdb/issues/2531 - this means `LocalClusterRunner` cannot be instantiated.
The stack trace is
java.lang.UnsatisfiedLinkError: C:\Users\...\AppData\Local\Temp\librocksdbjni5428427063666929934.dll: A dynamic link library (DLL) initialization routine failed at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1824) at java.lang.Runtime.load0(Runtime.java:809) at java.lang.System.load(System.java:1086) at org.rocksdb.NativeLibraryLoader.loadLibraryFromJar(NativeLibraryLoader.java:78) at org.rocksdb.NativeLibraryLoader.loadLibrary(NativeLibraryLoader.java:56) at org.rocksdb.RocksDB.loadLibrary(RocksDB.java:64) at org.rocksdb.RocksDB.<clinit>(RocksDB.java:35) at org.apache.storm.metricstore.rocksdb.RocksDbStore.prepare(RocksDbStore.java:67) at org.apache.storm.metricstore.MetricStoreConfig.configure(MetricStoreConfig.java:33) at org.apache.storm.daemon.nimbus.Nimbus.<init>(Nimbus.java:528) at org.apache.storm.LocalCluster.<init>(LocalCluster.java:244) at org.apache.storm.LocalCluster.<init>(LocalCluster.java:159) ...
This issue is fixed by at least rocks version 5.17.2. I also note rocks v6 is out.
This is a blocker for us - we cannot upgrade to storm 2 as-is, as we cannot run our local unit tests using a local cluster runner on our Windows-based development machines.
Attachments
Issue Links
- links to