Array[Consensus] not registered #1367

Closed
fnothaft opened this Issue Jan 23, 2017 · 0 comments

Comments

Projects
None yet
1 participant
@fnothaft
Member

fnothaft commented Jan 23, 2017

Needed for FromKnowns consensus mode:

com.esotericsoftware.kryo.KryoException: java.lang.IllegalArgumentException: Class is not registered: org.bdgenomics.adam.algorithms.consensus.Consensus[]
Note: To register this class use: kryo.register(org.bdgenomics.adam.algorithms.consensus.Consensus[].class);
Serialization trace:
otherElements (org.apache.spark.util.collection.CompactBuffer)
at com.esotericsoftware.kryo.serializers.FieldSerializer$ObjectField.write(FieldSerializer.java:585)
at com.esotericsoftware.kryo.serializers.FieldSerializer.write(FieldSerializer.java:213)
at com.esotericsoftware.kryo.Kryo.writeClassAndObject(Kryo.java:568)
at com.twitter.chill.Tuple2Serializer.write(TupleSerializers.scala:37)
at com.twitter.chill.Tuple2Serializer.write(TupleSerializers.scala:33)
at com.esotericsoftware.kryo.Kryo.writeClassAndObject(Kryo.java:568)

@fnothaft fnothaft added the bug label Jan 23, 2017

@fnothaft fnothaft added this to the 0.21.1 milestone Jan 23, 2017

@fnothaft fnothaft self-assigned this Jan 23, 2017

fnothaft added a commit to fnothaft/adam that referenced this issue Jan 23, 2017

@heuermh heuermh closed this in #1369 Jan 23, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment