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

GitHub | pomadchin | 8 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    GitHub comment 1553#239490805

    GitHub | 8 months ago | pomadchin
    java.lang.ClassCastException: geotrellis.spark.io.index.ZCurveKeyIndexMethod$ cannot be cast to geotrellis.spark.io.index.KeyIndexMethod

    Root Cause Analysis

    1. java.lang.ClassCastException

      geotrellis.spark.io.index.ZCurveKeyIndexMethod$ cannot be cast to geotrellis.spark.io.index.KeyIndexMethod

      at geotrellis.spark.etl.config.Output.getKeyIndexMethod()
    2. geotrellis.spark.etl
      Etl$$anonfun$ingest$1.apply
      1. geotrellis.spark.etl.config.Output.getKeyIndexMethod(Output.scala:45)
      2. geotrellis.spark.etl.accumulo.SpatialAccumuloOutput.writer(SpatialAccumuloOutput.scala:13)
      3. geotrellis.spark.etl.OutputPlugin$class.apply(OutputPlugin.scala:19)
      4. geotrellis.spark.etl.accumulo.SpatialAccumuloOutput.apply(SpatialAccumuloOutput.scala:11)
      5. geotrellis.spark.etl.Etl.savePyramid$1(Etl.scala:178)
      6. geotrellis.spark.etl.Etl.save(Etl.scala:192)
      7. geotrellis.spark.etl.Etl$$anonfun$ingest$1.apply(Etl.scala:47)
      8. geotrellis.spark.etl.Etl$$anonfun$ingest$1.apply(Etl.scala:39)
      8 frames
    3. Scala
      List.foreach
      1. scala.collection.immutable.List.foreach(List.scala:318)
      1 frame
    4. geotrellis.spark.etl
      Etl$.ingest
      1. geotrellis.spark.etl.Etl$.ingest(Etl.scala:39)
      1 frame
    5. geotrellis.chatta
      ChattaIngest$delayedInit$body.apply
      1. geotrellis.chatta.ChattaIngest$delayedInit$body.apply(ChattaIngest.scala:15)
      1 frame
    6. Scala
      App$class.main
      1. scala.Function0$class.apply$mcV$sp(Function0.scala:40)
      2. scala.runtime.AbstractFunction0.apply$mcV$sp(AbstractFunction0.scala:12)
      3. scala.App$$anonfun$main$1.apply(App.scala:71)
      4. scala.App$$anonfun$main$1.apply(App.scala:71)
      5. scala.collection.immutable.List.foreach(List.scala:318)
      6. scala.collection.generic.TraversableForwarder$class.foreach(TraversableForwarder.scala:32)
      7. scala.App$class.main(App.scala:71)
      7 frames
    7. geotrellis.chatta
      ChattaIngest.main
      1. geotrellis.chatta.ChattaIngest$.main(ChattaIngest.scala:12)
      2. geotrellis.chatta.ChattaIngest.main(ChattaIngest.scala)
      2 frames
    8. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    9. Spark
      SparkSubmit.main
      1. org.apache.spark.deploy.SparkSubmit$.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:674)
      2. org.apache.spark.deploy.SparkSubmit$.doRunMain$1(SparkSubmit.scala:180)
      3. org.apache.spark.deploy.SparkSubmit$.submit(SparkSubmit.scala:205)
      4. org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:120)
      5. org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)
      5 frames