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

github.com | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

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

    github.com | 2 years 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 | 8 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