Comments (13)
@pjfanning @thjaeckle we just released a new release version in our bintray repository 0.6.7.
from kamon-akka.
When using Kamon with Akka 2.5 there is at least one Exception on graceful shutdown of an ActorSystem:
14:53:02.704 SERVICE> Detected java.lang.NoSuchMethodError error, which MAY be caused by incompatible Akka versions on the classpath. Please note that a given Akka version MUST be the same across all modules of Akka that you are using, e.g. if you use akka-actor [2.5.1 (resolved from current classpath)] all other core Akka modules MUST be of the same version. External projects like Alpakka, Persistence plugins or Akka HTTP etc. have their own version numbers - please make sure you're using a compatible set of libraries.
14:53:02.707 SERVICE> [ERROR] [SECURITY][05/22/2017 12:53:02.706] [cluster-akka.actor.default-dispatcher-19] [akka.actor.ActorSystemImpl(cluster)] Uncaught error from thread [cluster-akka.actor.default-dispatcher-19] shutting down JVM since 'akka.jvm-exit-on-fatal-error' is enabled
14:53:02.707 SERVICE> Uncaught error from thread [cluster-akka.actor.default-dispatcher-19] shutting down JVM since 'akka.jvm-exit-on-fatal-error' is enabled for ActorSystem[cluster]
14:53:02.707 SERVICE> java.lang.NoSuchMethodError: akka.actor.ActorSystem.shutdown()V
14:53:02.707 SERVICE> at kamon.Kamon$.shutdown(Kamon.scala:61)
14:53:02.707 SERVICE> at kamon.Kamon.shutdown(Kamon.scala)
14:53:02.708 SERVICE> at akka.actor.ActorSystemImpl$TerminationCallbacks$$anonfun$addRec$1$1.applyOrElse(ActorSystem.scala:973)
14:53:02.708 SERVICE> at akka.actor.ActorSystemImpl$TerminationCallbacks$$anonfun$addRec$1$1.applyOrElse(ActorSystem.scala:973)
14:53:02.708 SERVICE> at scala.concurrent.Future$$anonfun$andThen$1.apply(Future.scala:436)
14:53:02.708 SERVICE> at scala.concurrent.Future$$anonfun$andThen$1.apply(Future.scala:435)
14:53:02.708 SERVICE> at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:36)
14:53:02.708 SERVICE> at akka.dispatch.BatchingExecutor$AbstractBatch.processBatch(BatchingExecutor.scala:55)
14:53:02.708 SERVICE> at akka.dispatch.BatchingExecutor$BlockableBatch$$anonfun$run$1.apply$mcV$sp(BatchingExecutor.scala:91)
14:53:02.708 SERVICE> at akka.dispatch.BatchingExecutor$BlockableBatch$$anonfun$run$1.apply(BatchingExecutor.scala:91)
14:53:02.708 SERVICE> at akka.dispatch.BatchingExecutor$BlockableBatch$$anonfun$run$1.apply(BatchingExecutor.scala:91)
14:53:02.708 SERVICE> at scala.concurrent.BlockContext$.withBlockContext(BlockContext.scala:72)
14:53:02.708 SERVICE> at akka.dispatch.BatchingExecutor$BlockableBatch.run(BatchingExecutor.scala:90)
14:53:02.708 SERVICE> at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:38)
14:53:02.708 SERVICE> at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(ForkJoinExecutorConfigurator.scala:43)
14:53:02.708 SERVICE> at akka.dispatch.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
14:53:02.709 SERVICE> at akka.dispatch.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
14:53:02.709 SERVICE> at akka.dispatch.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
14:53:02.709 SERVICE> at akka.dispatch.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
from kamon-akka.
The latest kamon-core code has an abstraction for the actor-system terminate.
https://github.com/kamon-io/Kamon/blob/master/kamon-core/src/main/scala/kamon/Kamon.scala
from kamon-akka.
I'll get to this later today!
from kamon-akka.
@pjfanning @ivantopo @thjaeckle this issue is related to kamon-io/Kamon#460?
from kamon-akka.
I think we should merge kamon-io/Kamon#460 - I've requested a small mod to the change though.
from kamon-akka.
@dpsoft yes, it is related, but that was only one obvious thing not working with Akka 2.5 - I can't oversee yet if Kamon 0.6.6 (compiled against Akka 2.4) works with Akka 2.5
from kamon-akka.
@thjaeckle please let us know if you see any issues :)
from kamon-akka.
@pjfanning @thjaeckle we just released a new snapshot version in our bintray repository 0.6.7-f50a47658f5dfe4c2718cd88ed934d138f5fdc31
;)
from kamon-akka.
looks good so far apart from the shutdown()
do you have plans for a release? using a snapshot in production probably is not such a good idea :)
from kamon-akka.
Guys, what about other modules like e.g. https://bintray.com/kamon-io/releases/kamon-akka-remote ? Are they also going to be released to bintray any time soon?
from kamon-akka.
I have noticed an issue when using akka 2.5. Akka 2.5 seems to have a new akka.dispatch.forkjoin.ForkJoinPool class and kamon-akka DispatcherInstrumentation does not not support it.
akka.dispatch.forkjoin.ForkJoinPool is a type alias for java 1.8 java.util.concurrent.ForkJoinPool
from kamon-akka.
fixed with: 5a81f29
from kamon-akka.
Related Issues (20)
- Kamon - Akka - Java - InstrumentedEnvelope not serializable HOT 13
- Unexpected behavior with Kamon.IO and Akka Cluster Aware Routers HOT 4
- Discarding entity bytes creates on akka http leaks memory if kamon-akka is enabled HOT 1
- Slow Response time when using AspectJ Weaver Agent
- Publish all artifacts from the latest release
- Dispatcher reports pool size of 0
- Kamon trace-token propagation not reliable HOT 2
- aspectJ not finding akka modules for logging HOT 1
- Added support for Akka "affinity-pool-executor" dispatcher executor HOT 1
- Missing published artifacts for Release 1.1.2 on Maven-Central
- missing type io.aeron.Aeron error.
- memory leak when using PinnedDispatcher HOT 2
- Repository description is a dead link HOT 2
- Pending Work not affected by actor termination.
- Support for Artery HOT 3
- Support for `Akka 2.6.0` HOT 7
- Use gauges where appropriate HOT 1
- Fails to deserialise remote message for akka version 2.6.1 HOT 4
- NullPointerException when instrumenting ActorSystem specifying a defaultExecutionContext
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kamon-akka.