java.lang.IllegalArgumentException

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

Solutions on the web22695

  • Class is not registered: backtype.storm.generated.WorkerUploadMetrics Note: To register this class use: kryo.register(backtype.storm.generated.WorkerUploadMetrics.class);
  • via Google Groups by Dylan Bethune-Waddell, 1 year ago
    Class is not registered: org.apache.spark.util.collection.CompactBuffer[] Note: To register this class use: kryo.register(org.apache.spark.util.collection.CompactBuffer[].class);
  • via Google Groups by Unknown author, 6 months ago
    Class is not registered: com.thinkaurelius.titan.core.attribute.Geoshape Note: To register this class use: kryo.register(com. thinkaurelius.titan.core.attribute.Geoshape.class);
  • Stack trace

    • 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)[kryo-2.21.jar:na] at com.esotericsoftware.kryo.util.DefaultClassResolver.writeClass(DefaultClassResolver.java:79)[kryo-2.21.jar:na] at com.esotericsoftware.kryo.Kryo.writeClass(Kryo.java:472)[kryo-2.21.jar:na] at com.esotericsoftware.kryo.Kryo.writeClassAndObject(Kryo.java:565)[kryo-2.21.jar:na] at com.esotericsoftware.kryo.serializers.CollectionSerializer.write(CollectionSerializer.java:75)[kryo-2.21.jar:na] at com.esotericsoftware.kryo.serializers.CollectionSerializer.write(CollectionSerializer.java:18)[kryo-2.21.jar:na] at com.esotericsoftware.kryo.Kryo.writeObject(Kryo.java:486)[kryo-2.21.jar:na] at backtype.storm.serialization.KryoValuesSerializer.serializeInto(KryoValuesSerializer.java:44)[jstorm-core-2.1.1.jar:na] at backtype.storm.serialization.KryoTupleSerializer.serializeTuple(KryoTupleSerializer.java:64)[jstorm-core-2.1.1.jar:na] at backtype.storm.serialization.KryoTupleSerializer.serializeBatch(KryoTupleSerializer.java:87)[jstorm-core-2.1.1.jar:na] at com.alibaba.jstorm.daemon.worker.DrainerBatchCtrlRunable.serialize(DrainerBatchCtrlRunable.java:27)[jstorm-core-2.1.1.jar:na] at com.alibaba.jstorm.daemon.worker.DrainerCtrlRunable.handleEvent(DrainerCtrlRunable.java:97)[jstorm-core-2.1.1.jar:na] at com.alibaba.jstorm.utils.DisruptorRunable.onEvent(DisruptorRunable.java:77)[jstorm-core-2.1.1.jar:na] at backtype.storm.utils.DisruptorQueueImpl.consumeBatchToCursor(DisruptorQueueImpl.java:193)[jstorm-core-2.1.1.jar:na] at backtype.storm.utils.DisruptorQueueImpl.consumeBatchWhenAvailable(DisruptorQueueImpl.java:161)[jstorm-core-2.1.1.jar:na] at com.alibaba.jstorm.utils.DisruptorRunable.run(DisruptorRunable.java:93)[jstorm-core-2.1.1.jar:na] at com.alibaba.jstorm.callback.AsyncLoopRunnable.run(AsyncLoopRunnable.java:95)[jstorm-core-2.1.1.jar:na] at java.lang.Thread.run(Thread.java:745)[na:1.8.0_25]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    2 times, 9 months ago