You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When launching Hive in a cluster setup using Akka i get the following error:
2019-02-14 18:10:53,780 [WARN] from akka.util.ManifestInfo in application-akka.actor.default-dispatcher-18 - Detected possible incompatible 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 [2.5.17] all other modules that are released together MUST be of the same version. Make sure you're using a compatible set of libraries.Possibly conflicting versions [2.5.17, 2.5.11] in libraries [akka-protobuf:2.5.17, akka-actor:2.5.17, akka-slf4j:2.5.17, akka-remote:2.5.11, akka-cluster:2.5.11, akka-stream:2.5.17, akka-cluster-tools:2.5.11]
Solution
Updating TheHive/project/Dependencies.scala to use version 2.5.19 solves this problem. 2.5.19 was recommended from other error logs:
[warn] * com.typesafe.akka:akka-stream_2.12:2.5.19 is selected over {2.5.17, 2.4.20}
[warn] +- com.typesafe.play:play-streams_2.12:2.6.21 () (depends on 2.5.19)
[warn] +- com.typesafe.akka:akka-http2-support_2.12:10.0.15 () (depends on 2.4.20)
[warn] +- com.typesafe.akka:akka-http-core_2.12:10.0.15 () (depends on 2.4.20)
[warn] +- com.typesafe.play:play-ws-standalone_2.12:1.1.12 (depends on 2.5.17)
[warn] +- com.typesafe.akka:akka-remote_2.12:2.5.17 () (depends on 2.5.17)
[warn] * com.typesafe.akka:akka-actor_2.12:2.5.19 is selected over {2.5.17, 2.4.17, 2.4.20}
[warn] +- com.typesafe.akka:akka-stream_2.12:2.5.19 () (depends on 2.5.19)
[warn] +- com.typesafe.play:play_2.12:2.6.21 () (depends on 2.5.19)
[warn] +- com.typesafe.akka:akka-slf4j_2.12:2.5.19 () (depends on 2.5.19)
[warn] +- com.typesafe.akka:akka-parsing_2.12:10.0.15 () (depends on 2.4.20)
[warn] +- com.sksamuel.elastic4s:elastic4s-streams_2.12:5.6.6 (depends on 2.4.17)
[warn] +- com.typesafe.akka:akka-remote_2.12:2.5.17 () (depends on 2.5.17)
This is what worked in my Dependencies.scala:
import sbt._
object Dependencies {
val scalaVersion = "2.12.6"
object Library {
object Play {
val version = play.core.PlayVersion.current
val ws = "com.typesafe.play" %% "play-ws" % version
val ahc = "com.typesafe.play" %% "play-ahc-ws" % version
val cache = "com.typesafe.play" %% "play-ehcache" % version
val test = "com.typesafe.play" %% "play-test" % version
val specs2 = "com.typesafe.play" %% "play-specs2" % version
val filters = "com.typesafe.play" %% "filters-helpers" % version
val guice = "com.typesafe.play" %% "play-guice" % version
}
val scalaGuice = "net.codingwell" %% "scala-guice" % "4.2.1"
val reflections = "org.reflections" % "reflections" % "0.9.11"
val zip4j = "net.lingala.zip4j" % "zip4j" % "1.3.2"
val elastic4play = "org.thehive-project" %% "elastic4play" % "1.8.0-1"
val akkaCluster = "com.typesafe.akka" %% "akka-cluster" % "2.5.19"
val akkaClusterTools = "com.typesafe.akka" %% "akka-cluster-tools" % "2.5.19"
}
}
The text was updated successfully, but these errors were encountered:
zpriddy
added a commit
to zpriddy/TheHive
that referenced
this issue
Feb 14, 2019
Request Type
Bug
Work Environment
Problem Description
When launching Hive in a cluster setup using Akka i get the following error:
Solution
Updating
TheHive/project/Dependencies.scala
to use version2.5.19
solves this problem. 2.5.19 was recommended from other error logs:This is what worked in my Dependencies.scala:
The text was updated successfully, but these errors were encountered: