java.lang.IllegalArgumentException: Class is not registered: backtype.storm.generated.WorkerUploadMetrics Note: To register this class use: kryo.register(backtype.storm.generated.WorkerUploadMetrics.class);

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

Solutions on the web

via GitHub by breezyjin
, 1 year ago
Class is not registered: backtype.storm.generated.WorkerUploadMetrics Note: To register this class use: kryo.register(backtype.storm.generated.WorkerUploadMetrics.class);
via GitHub by smirnp
, 9 months ago
Class is not registered: java.nio.HeapByteBuffer Note: To register this class use: kryo.register(java.nio.HeapByteBuffer.class);
via GitHub by rgabo
, 9 months ago
Class is not registered: com.snowplowanalytics.snowplow.enrich.common.outputs.EnrichedEvent[] Note: To register this class use: kryo.register(com.snowplowanalytics.snowplow.enrich.common.outputs.EnrichedEvent[].class);
via Stack Overflow by Pop
, 1 year ago
Class is not registered: org.apache.spark.mllib.regression.LabeledPoint[] Note: To register this class use: kryo.register(org.apache.spark.mllib.regression.LabeledPoint[].class);
via search-hadoop.com by Unknown author, 2 years ago
Class is not registered: ltn.analytics.es.EsDoc[] Note: To register this class use: kryo.register(ltn.analytics.es.EsDoc[].class);
java.lang.IllegalArgumentException: Class is not registered: backtype.storm.generated.WorkerUploadMetrics Note: To register this class use: kryo.register(backtype.storm.generated.WorkerUploadMetrics.class);
at com.esotericsoftware.kryo.Kryo.getRegistration(Kryo.java:442)
at com.esotericsoftware.kryo.util.DefaultClassResolver.writeClass(DefaultClassResolver.java:79)
at com.esotericsoftware.kryo.Kryo.writeClass(Kryo.java:472)
at com.esotericsoftware.kryo.Kryo.writeClassAndObject(Kryo.java:565)
at com.esotericsoftware.kryo.serializers.CollectionSerializer.write(CollectionSerializer.java:75)
at com.esotericsoftware.kryo.serializers.CollectionSerializer.write(CollectionSerializer.java:18)
at backtype.storm.serialization.KryoValuesSerializer.serializeInto(KryoValuesSerializer.java:44)
at backtype.storm.serialization.KryoTupleSerializer.serializeTuple(KryoTupleSerializer.java:64)
at backtype.storm.serialization.KryoTupleSerializer.serializeBatch(KryoTupleSerializer.java:87)
at com.alibaba.jstorm.daemon.worker.DrainerBatchCtrlRunable.serialize(DrainerBatchCtrlRunable.java:27)
at com.alibaba.jstorm.daemon.worker.DrainerCtrlRunable.handleEvent(DrainerCtrlRunable.java:97)
at com.alibaba.jstorm.utils.DisruptorRunable.onEvent(DisruptorRunable.java:77)
at backtype.storm.utils.DisruptorQueueImpl.consumeBatchToCursor(DisruptorQueueImpl.java:193)
at backtype.storm.utils.DisruptorQueueImpl.consumeBatchWhenAvailable(DisruptorQueueImpl.java:161)
at com.alibaba.jstorm.utils.DisruptorRunable.run(DisruptorRunable.java:93)
at com.alibaba.jstorm.callback.AsyncLoopRunnable.run(AsyncLoopRunnable.java:95)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

2 times, 1 year ago

Write tip

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