scheduler.TaskSetManager: Lost task 2.0 in stage 1.0 (TID 6, ag1.cdh.yu): java.lang.IllegalAccessError: tried to access method com.esotericsoftware.kryo.io.Output.require(I)Z from class com.esotericsoftware.kryo.io.UnsafeOutput

GitHub | tonygshliu | 6 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

    IllegalAccessError :UnsafeOutput

    GitHub | 6 months ago | tonygshliu
    scheduler.TaskSetManager: Lost task 2.0 in stage 1.0 (TID 6, ag1.cdh.yu): java.lang.IllegalAccessError: tried to access method com.esotericsoftware.kryo.io.Output.require(I)Z from class com.esotericsoftware.kryo.io.UnsafeOutput

    Root Cause Analysis

    1. scheduler.TaskSetManager

      Lost task 2.0 in stage 1.0 (TID 6, ag1.cdh.yu): java.lang.IllegalAccessError: tried to access method com.esotericsoftware.kryo.io.Output.require(I)Z from class com.esotericsoftware.kryo.io.UnsafeOutput

      at com.esotericsoftware.kryo.io.UnsafeOutput.writeInt()
    2. Kryo
      Kryo.writeClassAndObject
      1. com.esotericsoftware.kryo.io.UnsafeOutput.writeInt(UnsafeOutput.java:98)
      2. com.esotericsoftware.kryo.io.UnsafeOutput.writeInt(UnsafeOutput.java:154)
      3. com.esotericsoftware.kryo.util.DefaultClassResolver.writeClass(DefaultClassResolver.java:84)
      4. com.esotericsoftware.kryo.Kryo.writeClass(Kryo.java:472)
      5. com.esotericsoftware.kryo.Kryo.writeClassAndObject(Kryo.java:565)
      5 frames
    3. com.mobius.bigdata
      App$$anonfun$main$1.apply
      1. com.mobius.bigdata.spark.FdbItemValue.setValueObject(FdbItemValue.java:22)
      2. com.mobius.bigdata.spark.FdbItemValue.<init>(FdbItemValue.java:15)
      3. com.mobius.bigdata.spark.App$$anonfun$main$1.apply(App.scala:83)
      4. com.mobius.bigdata.spark.App$$anonfun$main$1.apply(App.scala:82)
      4 frames