java.lang.ClassCastException: java.lang.Long cannot be cast to scala.Tuple2

github.com | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    update by JerryLead · Pull Request #1 · JerryLead/spark · GitHub

    github.com | 1 year ago
    java.lang.ClassCastException: java.lang.Long cannot be cast to scala.Tuple2
  2. 0

    eco-release-metadata/RELEASENOTES.1.2.0.md at master · aw-was-here/eco-release-metadata · GitHub

    github.com | 6 months ago
    java.lang.ClassCastException: java.lang.Long cannot be cast to scala.Tuple2

    Root Cause Analysis

    1. java.lang.ClassCastException

      java.lang.Long cannot be cast to scala.Tuple2

      at org.apache.spark.graphx.impl.RoutingTableMessageSerializer$$anon$1$$anon$2.writeObject()
    2. Spark Project GraphX
      RoutingTableMessageSerializer$$anon$1$$anon$2.writeObject
      1. org.apache.spark.graphx.impl.RoutingTableMessageSerializer$$anon$1$$anon$2.writeObject(Serializers.scala:39)
      1 frame
    3. Spark
      ExternalSorter.spillToMergeableFile
      1. org.apache.spark.storage.DiskBlockObjectWriter.write(BlockObjectWriter.scala:195)
      2. org.apache.spark.util.collection.ExternalSorter.spillToMergeableFile(ExternalSorter.scala:329)
      2 frames