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

Akka Actor Error when initializing Glint Client #68

Open
mnoumanshahzad opened this issue May 28, 2017 · 2 comments
Open

Akka Actor Error when initializing Glint Client #68

mnoumanshahzad opened this issue May 28, 2017 · 2 comments

Comments

@mnoumanshahzad
Copy link

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

@MLnick
Copy link
Contributor

MLnick commented May 28, 2017 via email

@mnoumanshahzad
Copy link
Author

Thanks alot for a speedy reply. Could you also point out the preferred versions of Scala, SBT and Akka for Glint?
I figured out the following from the build.sbt for Glint
Scala Version = 2.10.6 or 2.11.8
SBT Version = I am using 0.13.15 and it works fine.
Akka Version = 2.3.15 (for Scala 2.10) and 2.4.12 (for Scala 2.4.12)

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