Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Challenge 6_0's tests fail #21

Closed
Engelberg opened this issue May 27, 2016 · 6 comments
Closed

Challenge 6_0's tests fail #21

Engelberg opened this issue May 27, 2016 · 6 comments

Comments

@Engelberg
Copy link

I get the following error when I try to run Challenge 6_0's tests:

ERROR in (test-level-6-challenge-0) (RocksDB.java:47)
Uncaught exception, not in assertion.
expected: nil
  actual: java.lang.ExceptionInInitializerError: null
 at org.rocksdb.RocksDB.loadLibrary (RocksDB.java:47)
    org.rocksdb.RocksDB.<clinit> (RocksDB.java:23)
    onyx.state.filter.rocksdb$eval22380$fn__22382.invoke (rocksdb.clj:53)
    clojure.lang.MultiFn.invoke (MultiFn.java:233)
    onyx.peer.task_lifecycle$resolve_filter_state.invokeStatic (task_lifecycle.clj:51)
    onyx.peer.task_lifecycle$resolve_filter_state.invoke (task_lifecycle.clj:45)
    onyx.peer.task_lifecycle.TaskLifeCycle.start (task_lifecycle.clj:496)
    com.stuartsierra.component$eval10614$fn__10615$G__10604__10617.invoke (component.cljc:5)
    com.stuartsierra.component$eval10614$fn__10615$G__10603__10620.invoke (component.cljc:5)
    clojure.lang.Var.invoke (Var.java:379)
    clojure.lang.AFn.applyToHelper (AFn.java:154)
    clojure.lang.Var.applyTo (Var.java:700)
    clojure.core$apply.invokeStatic (core.clj:648)
    clojure.core$apply.invoke (core.clj:641)
    com.stuartsierra.component$try_action.invokeStatic (component.cljc:117)

    com.stuartsierra.component$try_action.invoke (component.cljc:116)
    com.stuartsierra.component$update_system$fn__10673.invoke (component.cljc:139)
    clojure.lang.ArraySeq.reduce (ArraySeq.java:114)
    clojure.core$reduce.invokeStatic (core.clj:6544)
    clojure.core$reduce.invoke (core.clj:6527)
    com.stuartsierra.component$update_system.invokeStatic (component.cljc:135)
    com.stuartsierra.component$update_system.doInvoke (component.cljc:129)
    clojure.lang.RestFn.invoke (RestFn.java:445)
    com.stuartsierra.component$start_system.invokeStatic (component.cljc:163)
    com.stuartsierra.component$start_system.invoke (component.cljc:155)
    onyx.system.OnyxTask/fn (system.clj:140)
    onyx.system$rethrow_component.invokeStatic (system.clj:56)
    onyx.system$rethrow_component.invoke (system.clj:54)
    onyx.system.OnyxTask.start (system.clj:139)
    onyx.log.commands.common$eval15602$start_new_lifecycle__15607$fn__15608$fn__15609.invoke (common.clj:150)
    clojure.core$binding_conveyor_fn$fn__4676.invoke
 (core.clj:1938)
    clojure.lang.AFn.call (AFn.java:18)
    java.util.concurrent.FutureTask.run (FutureTask.java:266)
    java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1142)
    java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:617)
    java.lang.Thread.run (Thread.java:745)
Caused by: java.lang.UnsupportedOperationException: null
 at org.rocksdb.util.Environment.getJniLibraryName (Environment.java:40)
    org.rocksdb.NativeLibraryLoader.<clinit> (NativeLibraryLoader.java:19)
    org.rocksdb.RocksDB.loadLibrary (RocksDB.java:47)
    org.rocksdb.RocksDB.<clinit> (RocksDB.java:23)
    onyx.state.filter.rocksdb$eval22380$fn__22382.invoke (rocksdb.clj:53)
    clojure.lang.MultiFn.invoke (MultiFn.java:233)
    onyx.peer.task_lifecycle$resolve_filter_state.invokeStatic (task_lifecycle.clj:51)
    onyx.peer.task_lifecycle$resolve_filter_state.invoke (task_lifecycle.clj:45)
    onyx.peer.task_lifecycle.TaskLifeCycle.start (task_lifecycle.clj:496)
    com.stuartsierra.component$eval10614$fn__10615$G__10604__10617.invoke (component.cljc:5)
    com.stuartsierra.component$eval10614$fn__10615$G__10603__10620.invoke (component.cljc:5)
    clojure.lang.Var.invoke (Var.java:379)
    clojure.lang.AFn.applyToHelper (AFn.java:154)
    clojure.lang.Var.applyTo (Var.java:700)
    clojure.core$apply.invokeStatic (core.clj:648)
    clojure.core$apply.invoke (core.clj:641)
    com.stuartsierra.component$try_action.invokeStatic (component.cljc:117)
    com.stuartsierra.component$try_action.invoke (component.cljc:116)
    com.stuartsierra.component$update_system$fn__10673.invoke (component.cljc:139)
    clojure.lang.ArraySeq.reduce (ArraySeq.java:114)
    clojure.core$reduce.invokeStatic (core.clj:6544)
    clojure.core$reduce.invoke (core.clj:6527)
    com.stuartsierra.component$update_system.invokeStatic (component.cljc:135)
    com.stuartsierra.component$update_system.doInvoke (component.cljc:129)
    clojure.lang.RestFn.invoke (RestFn.java:445)
@MichaelDrogalis
Copy link
Contributor

I wasn't able to reproduce this one. What Git SHA of learn-onyx are you using, which version of Java, and which OS? Seems environmental since this would be the first challenge that uses BookKeeper and RocksDB internally.

@Engelberg
Copy link
Author

Engelberg commented May 27, 2016

Cloned the git repository two nights ago, says I'm still current with master.
Java 1.8.0_66
Windows 10

@Engelberg
Copy link
Author

git show head
commit 2ecc156

@MichaelDrogalis
Copy link
Contributor

Ah, I wouldn't be surprised if it's because of Windows. Not sure if RocksDB or BookKeeper place nice with that OS, and we don't officially support Windows. Sorry. :(

@Engelberg
Copy link
Author

Yeah, seems to be a problem with RocksDB. It's looking for a dll (librocksdbjni-win64.dll), but there doesn't seem to be any place on the web from which to download it.

@MichaelDrogalis
Copy link
Contributor

Closing, Windows isn't on the radar.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants