java.lang.ClassCastException

org.bdgenomics.formats.avro.Fragment cannot

Solutions on the web18903

  • via Google Groups by someya sayeh, 6 months ago
    org.bdgenomics.formats.avro.Fragment cannot
  • via oracle.com by Unknown author, 8 months ago
    Cannot
  • via oracle.com by Unknown author, 8 months ago
    Cannot
  • Stack trace

    • java.lang.ClassCastException: org.bdgenomics.formats.avro.Fragment cannot at org.bdgenomics.adam.rdd.variation.GenotypeRDDFunctions$$anonfun$10.apply(VariationRDDFunctions.scala:153) at org.apache.spark.rdd.RDD$$anonfun$keyBy$1.apply(RDD.scala:1324) at org.apache.spark.rdd.RDD$$anonfun$keyBy$1.apply(RDD.scala:1324) at scala.collection.Iterator$$anon$11.next(Iterator.scala:328) at scala.collection.Iterator$$anon$11.next(Iterator.scala:328) at org.apache.spark.util.collection.ExternalSorter.spillToPartitionFiles(ExternalSorter.scala:371) at org.apache.spark.util.collection.ExternalSorter.insertAll(ExternalSorter.scala:211) at org.apache.spark.shuffle.sort.SortShuffleWriter.write(SortShuffleWriter.scala:63) at org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:68) at org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:41) at org.apache.spark.scheduler.Task.run(Task.scala:64) at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:203) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.