This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-12-04
Channels
- # adventofcode (171)
- # beginners (160)
- # boot (13)
- # chestnut (2)
- # cider (6)
- # cljs-dev (15)
- # cljsjs (35)
- # cljsrn (1)
- # clojure (139)
- # clojure-argentina (3)
- # clojure-brasil (1)
- # clojure-greece (31)
- # clojure-italy (5)
- # clojure-russia (5)
- # clojure-spec (18)
- # clojure-uk (11)
- # clojurescript (42)
- # clojurex (6)
- # core-async (12)
- # cursive (14)
- # dirac (13)
- # emacs (13)
- # events (1)
- # fulcro (46)
- # graphql (7)
- # leiningen (10)
- # lumo (3)
- # mount (31)
- # off-topic (20)
- # onyx (30)
- # perun (4)
- # planck (47)
- # re-frame (28)
- # reagent (14)
- # ring (5)
- # shadow-cljs (3)
- # spacemacs (7)
- # specter (13)
- # timbre (3)
- # unrepl (65)
- # yada (8)
Has anyone ran into this exception?
Exception in thread "Thread-36" java.lang.NoClassDefFoundError: org/agrona/LangUtil
at org.agrona.IoUtil.delete(IoUtil.java:141)
at io.aeron.CommonContext.deleteAeronDirectory(CommonContext.java:354)
at onyx.messaging.aeron.embedded_media_driver$delete_aeron_directory_safe.invokeStatic(embedded_media_driver.clj:8)
at onyx.messaging.aeron.embedded_media_driver$delete_aeron_directory_safe.invoke(embedded_media_driver.clj:7)
at onyx.messaging.aeron.embedded_media_driver.EmbeddedMediaDriver$fn__30987.invoke(embedded_media_driver.clj:35)
at clojure.lang.AFn.run(AFn.java:22)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ClassNotFoundException: org.agrona.LangUtil
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 7 more
It occurs after my tests complete successfully.How close are we to a full 0.12.0 release?
Today.
@kenny that one is odd
@kenny java.lang.NoClassDefFoundError
generally indicates two versions of that lib are on the classpath
Are you by some chance bringing in Agrona separately?
No. I'll check the classpath for conflicts though.
Aside: http://www.onyxplatform.org/docs/user-guide/0.12.x/#_peer_fails_to_start_and_throws says to increase the shm-size if you run into that exception. How drastically? I believe it defaults to 64M
.
Both should be being brought in by aeron-all
A worst case estimate is (number of peers in a job / 2) ^ 2 3 http://www.onyxplatform.org/docs/cheat-sheet/latest/#peer-config/:onyx.messaging/term-buffer-size.segment
Basically each task on a peer needs a connection to each peer on a downstream task, and each of those needs 3 segments * that buffer size
No aeron either?
oh wait, I’m looking at lib-onyx
agrona is brought in by aeron-all
There's this from Onyx [io.aeron/aeron-all "1.5.1"]
. Perhaps it's not printing everything?
I believe they’ve packaged them both into one library.
Is it possible you’re building the media driver with a reduced set of dependencies? I guess not.
A bit side tracked on that issue because it's not a blocker right now. I set my shm-size to 1g
and I am still getting io.aeron.exceptions.RegistrationException: IllegalStateException : Insufficient usable storage for new log of length=50335744 in /dev/shm (shm)
. Is there something else I am missing?
Ahh, it’s because you’re using 0.11
We really reduced the default storage sizes for the buffers.
I can give you a java property to reduce it until you upgrade.
You can give -Daeron.term.buffer.length=2097152
a go until then
I’m releasing rc2 right now. If all looks good I’ll release 0.12 final right after.