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 | 9 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

    IllegalAccessError :UnsafeOutput

    GitHub | 9 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