You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by GitBox <gi...@apache.org> on 2021/01/13 20:52:54 UTC

[GitHub] [storm] Ethanlm opened a new pull request #3372: [STORM-3735] Register NodeInfo class to Kyro

Ethanlm opened a new pull request #3372:
URL: https://github.com/apache/storm/pull/3372


   ## What is the purpose of the change
   
   Explained in https://issues.apache.org/jira/browse/STORM-3735. 
   ```
   2021-01-13 20:16:37.030 o.a.s.u.Utils Thread-16-__system-executor[-1, -1] [ERROR] Async loop died!
   java.lang.RuntimeException: com.esotericsoftware.kryo.KryoException: java.lang.IllegalArgumentException: Class is not registered: org.apache.storm.generated.NodeInfo
   Note: To register this class use: kryo.register(org.apache.storm.generated.NodeInfo.class);
   Serialization trace:
   value (org.apache.storm.metric.api.IMetricsConsumer$DataPoint)
           at org.apache.storm.executor.Executor.accept(Executor.java:294) ~[storm-client-2.3.0.y.jar:2.3.0.y]
           at org.apache.storm.utils.JCQueue.consumeImpl(JCQueue.java:113) ~[storm-client-2.3.0.y.jar:2.3.0.y]
           at org.apache.storm.utils.JCQueue.consume(JCQueue.java:89) ~[storm-client-2.3.0.y.jar:2.3.0.y]
           at org.apache.storm.executor.bolt.BoltExecutor$1.call(BoltExecutor.java:159) ~[storm-client-2.3.0.y.jar:2.3.0.y]
           at org.apache.storm.executor.bolt.BoltExecutor$1.call(BoltExecutor.java:145) ~[storm-client-2.3.0.y.jar:2.3.0.y]
           at org.apache.storm.utils.Utils$1.run(Utils.java:401) [storm-client-2.3.0.y.jar:2.3.0.y]
           at java.lang.Thread.run(Thread.java:748) [?:1.8.0_262]
   Caused by: com.esotericsoftware.kryo.KryoException: java.lang.IllegalArgumentException: Class is not registered: org.apache.storm.generated.NodeInfo
   Note: To register this class use: kryo.register(org.apache.storm.generated.NodeInfo.class);
   Serialization trace:
   value (org.apache.storm.metric.api.IMetricsConsumer$DataPoint)
   ...
   ```
   
   ## How was the change tested
   
   With the same steps to reproduce this issue, it worked after applying this code change.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [storm] Ethanlm merged pull request #3372: [STORM-3735] Register NodeInfo class to Kyro

Posted by GitBox <gi...@apache.org>.
Ethanlm merged pull request #3372:
URL: https://github.com/apache/storm/pull/3372


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org