Simon Cooper created STORM-3408:
-----------------------------------
Summary: Rocks version shipped with Storm2 doesn't work on Windows
10
Key: STORM-3408
URL: https://issues.apache.org/jira/browse/STORM-3408
Project: Apache Storm
Issue Type: Bug
Affects Versions: 2.0.0
Environment: Windows 10 64-bit
Reporter: Simon Cooper
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
{code}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)
...{code}
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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)