Uploaded image for project: 'Apache Storm'
  1. Apache Storm
  2. STORM-3408

Rocks version shipped with Storm2 doesn't work on Windows 10

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.0.0
    • 2.1.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

          Activity

            People

              thecoop1984 Simon Cooper
              thecoop1984 Simon Cooper
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h