java.lang.ClassCastException: geotrellis.spark.io.index.ZCurveKeyIndexMethod$ cannot be cast to geotrellis.spark.io.index.KeyIndexMethod

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 1553#239490805
    via GitHub by pomadchin
    ,
    • java.lang.ClassCastException: geotrellis.spark.io.index.ZCurveKeyIndexMethod$ cannot be cast to geotrellis.spark.io.index.KeyIndexMethod at geotrellis.spark.etl.config.Output.getKeyIndexMethod(Output.scala:45) at geotrellis.spark.etl.accumulo.SpatialAccumuloOutput.writer(SpatialAccumuloOutput.scala:13) at geotrellis.spark.etl.OutputPlugin$class.apply(OutputPlugin.scala:19) at geotrellis.spark.etl.accumulo.SpatialAccumuloOutput.apply(SpatialAccumuloOutput.scala:11) at geotrellis.spark.etl.Etl.savePyramid$1(Etl.scala:178) at geotrellis.spark.etl.Etl.save(Etl.scala:192) at geotrellis.spark.etl.Etl$$anonfun$ingest$1.apply(Etl.scala:47) at geotrellis.spark.etl.Etl$$anonfun$ingest$1.apply(Etl.scala:39) at scala.collection.immutable.List.foreach(List.scala:318) at geotrellis.spark.etl.Etl$.ingest(Etl.scala:39) at geotrellis.chatta.ChattaIngest$delayedInit$body.apply(ChattaIngest.scala:15) at scala.Function0$class.apply$mcV$sp(Function0.scala:40) at scala.runtime.AbstractFunction0.apply$mcV$sp(AbstractFunction0.scala:12) at scala.App$$anonfun$main$1.apply(App.scala:71) at scala.App$$anonfun$main$1.apply(App.scala:71) at scala.collection.immutable.List.foreach(List.scala:318) at scala.collection.generic.TraversableForwarder$class.foreach(TraversableForwarder.scala:32) at scala.App$class.main(App.scala:71) at geotrellis.chatta.ChattaIngest$.main(ChattaIngest.scala:12) at geotrellis.chatta.ChattaIngest.main(ChattaIngest.scala) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.apache.spark.deploy.SparkSubmit$.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:674) at org.apache.spark.deploy.SparkSubmit$.doRunMain$1(SparkSubmit.scala:180) at org.apache.spark.deploy.SparkSubmit$.submit(SparkSubmit.scala:205) at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:120) at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)
    No Bugmate found.