Я получаю ошибку ниже при запуске задания на искру. Пожалуйста, предложите правильную версию для коннектора свечи и кассандры.
Ниже мой build.sbt
scalaVersion := "2.11.8"
libraryDependencies ++= Seq(
"org.apache.spark" %% "spark-streaming" % "2.2.0-cdh6.0.1" % "provided",
"org.apache.spark" %% "spark-core" % "2.2.0-cdh6.0.1" % "provided", // excludeAll ExclusionRule(organization = "javax.servlet"),
"org.apache.spark" %% "spark-sql" % "2.2.0-cdh6.0.1" % "provided",
"org.apache.spark" %% "`enter code here`spark-streaming-kafka-0-10" % "2.2.0-cdh6.0.1",
"org.apache.hbase" % "hbase-client" % "2.0.0-cdh6.0.1",
"org.apache.hbase" % "hbase-common" % "2.0.0-cdh6.0.1",
"com.datastax.spark" %% "spark-cassandra-connector" % "2.0.10",
"net.liftweb" %% "lift-json" % "3.3.0",
"com.typesafe" % "config" % "1.2.1"
)
Я получаю ниже ERRORодин раз подать работу на спарк
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/configuration/ConfigurationException
at com.datastax.spark.connector.streaming.DStreamFunctions.saveToCassandra$default$4(DStreamFunctions.scala:47)
at com.StreamingPrerequisiteLoad$.main(StreamingPrerequisiteLoad.scala:72)
at com.StreamingPrerequisiteLoad.main(StreamingPrerequisiteLoad.scala)
Caused by: java.lang.ClassNotFoundException: org.apache.commons.configuration.ConfigurationException
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)