-
Notifications
You must be signed in to change notification settings - Fork 62
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
Akka Actor Error when initializing Glint Client #68
Comments
Likely a version conflict - either scala version or akka. If akka then
unless Flink has a way to manage classpath loading then you can try shading
your akka dependency
…On Sun, 28 May 2017 at 15:05, Muhammad Nouman Shahzad < ***@***.***> wrote:
I am trying this implementation of Glint with Apache Flink. I am rather
new to Akka and can not figure out the following error message:
java.lang.NoSuchMethodError:
akka.pattern.AskableActorRef$.$qmark$default$3$extension(Lakka/actor/ActorRef;Ljava/lang/Object;)Lakka/actor/ActorRef;
at glint.Client.<init>(Client.scala:40) at
glint.Client$$anonfun$start$1.apply(Client.scala:302) at
glint.Client$$anonfun$start$1.apply(Client.scala:300) at
scala.concurrent.Future$$anonfun$flatMap$1.apply(Future.scala:253) at
scala.concurrent.Future$$anonfun$flatMap$1.apply(Future.scala:251) at
scala.concurrent.impl.CallbackRunnable.run(Promise.scala:32) at
scala.concurrent.impl.ExecutionContextImpl$AdaptedForkJoinTask.exec(ExecutionContextImpl.scala:121)
at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260) at
scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
at
scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
This message appears simply when I try to create a client ( i.e val gc =
Client() )
Is it possible that this message is caused because Apache Flink uses a
different version of Akka that Glint and somehow Glint is using the Akka
version that Apache Flink has imported? If so, how can I ensure that the
right version of Akka is called for Glint and Apache Flink respectively?
Thanks
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#68>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA_SB6qNPUiMcf8LtfF0znNv5EtjLisOks5r-XEygaJpZM4NopFl>
.
|
Thanks alot for a speedy reply. Could you also point out the preferred versions of Scala, SBT and Akka for Glint? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am trying this implementation of Glint with Apache Flink. I am rather new to Akka and can not figure out the following error message:
java.lang.NoSuchMethodError: akka.pattern.AskableActorRef$.$qmark$default$3$extension(Lakka/actor/ActorRef;Ljava/lang/Object;)Lakka/actor/ActorRef; at glint.Client.<init>(Client.scala:40) at glint.Client$$anonfun$start$1.apply(Client.scala:302) at glint.Client$$anonfun$start$1.apply(Client.scala:300) at scala.concurrent.Future$$anonfun$flatMap$1.apply(Future.scala:253) at scala.concurrent.Future$$anonfun$flatMap$1.apply(Future.scala:251) at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:32) at scala.concurrent.impl.ExecutionContextImpl$AdaptedForkJoinTask.exec(ExecutionContextImpl.scala:121) at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260) at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339) at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979) at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
This message appears simply when I try to create a client ( i.e val gc = Client() )
Is it possible that this message is caused because Apache Flink uses a different version of Akka that Glint and somehow Glint is using the Akka version that Apache Flink has imported? If so, how can I ensure that the right version of Akka is called for Glint and Apache Flink respectively?
Thanks
The text was updated successfully, but these errors were encountered: