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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by tonygshliu
, 1 year ago
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
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(UnsafeOutput.java:98)
at com.esotericsoftware.kryo.io.UnsafeOutput.writeInt(UnsafeOutput.java:154)
at com.esotericsoftware.kryo.util.DefaultClassResolver.writeClass(DefaultClassResolver.java:84)
at com.esotericsoftware.kryo.Kryo.writeClass(Kryo.java:472)
at com.mobius.bigdata.spark.FdbItemValue.setValueObject(FdbItemValue.java:22)
at com.mobius.bigdata.spark.FdbItemValue.(FdbItemValue.java:15)
at com.mobius.bigdata.spark.App$$anonfun$main$1.apply(App.scala:83)
at com.mobius.bigdata.spark.App$$anonfun$main$1.apply(App.scala:82)

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.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.