java.util.NoSuchElementException: spark.cassandra.connection.host sbt.ForkMain$ForkError: spark.cassandra.connection.host

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • GitHub comment 1097#109206539
    via GitHub by allixender
    ,
    • java.util.NoSuchElementException: spark.cassandra.connection.host sbt.ForkMain$ForkError: spark.cassandra.connection.host at org.apache.spark.SparkConf$$anonfun$get$1.apply(SparkConf.scala:167) at org.apache.spark.SparkConf$$anonfun$get$1.apply(SparkConf.scala:167) at scala.Option.getOrElse(Option.scala:120) at org.apache.spark.SparkConf.get(SparkConf.scala:167) at geotrellis.spark.io.cassandra.CassandraAttributeStoreSpec$$anonfun$1$$anonfun$apply$mcV$sp$1.apply$mcV$sp(CassandraAttributeStoreSpec.scala:39) at geotrellis.spark.OnlyIfCanRunSpark$class.ifCanRunSpark(OnlyIfCanRunSpark.scala:46) at geotrellis.spark.io.cassandra.CassandraAttributeStoreSpec.ifCanRunSpark(CassandraAttributeStoreSpec.scala:22) at geotrellis.spark.io.cassandra.CassandraAttributeStoreSpec$$anonfun$1.apply$mcV$sp(CassandraAttributeStoreSpec.scala:31) at org.scalatest.SuperEngine.registerNestedBranch(Engine.scala:613) at org.scalatest.FunSpecLike$class.describe(FunSpecLike.scala:357) at org.scalatest.FunSpec.describe(FunSpec.scala:1626) at geotrellis.spark.io.cassandra.CassandraAttributeStoreSpec.<init>(CassandraAttributeStoreSpec.scala:30) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:526) at java.lang.Class.newInstance(Class.java:383) at org.scalatest.tools.Framework$ScalaTestTask.execute(Framework.scala:641) at sbt.ForkMain$Run$2.call(ForkMain.java:294) at sbt.ForkMain$Run$2.call(ForkMain.java:284) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745)
    No Bugmate found.