本文介绍了风暴错误 java.lang.UnsatisfiedLinkError?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

编译没问题,但是运行后.....

Compile no problem, but after run.....

26183 [Thread-34] ERROR backtype.storm.util  - Async loop died!
java.lang.UnsatisfiedLinkError: org.zeromq.ZMQ$Socket.finalize()V
    at org.zeromq.ZMQ$Socket.finalize(Native Method)
    at org.zeromq.ZMQ$Socket.close(ZMQ.java:339)
    at storm.starter.spout.RandomSentenceSpout.nextTuple(RandomSentenceSpout.java:56)
    at backtype.storm.daemon.executor$fn__3985$fn__3997$fn__4026.invoke(executor.clj:502)
    at backtype.storm.util$async_loop$fn__465.invoke(util.clj:377)
    at clojure.lang.AFn.run(AFn.java:24)
    at java.lang.Thread.run(Thread.java:724)
         26185 [Thread-34] ERROR backtype.storm.daemon.executor  -
    java.lang.UnsatisfiedLinkError: org.zeromq.ZMQ$Socket.finalize()V
    at org.zeromq.ZMQ$Socket.finalize(Native Method)
   at org.zeromq.ZMQ$Socket.close(ZMQ.java:339)
   at storm.starter.spout.RandomSentenceSpout.nextTuple(RandomSentenceSpout.java:56)
   at backtype.storm.daemon.executor$fn__3985$fn__3997$fn__4026.invoke(executor.clj:502)
   at backtype.storm.util$async_loop$fn__465.invoke(util.clj:377)
   at clojure.lang.AFn.run(AFn.java:24)
   at java.lang.Thread.run(Thread.java:724)

推荐答案

Storm 建议使用 2.1.7 版本的 zeroMQ.

Storm recommends to use exactly 2.1.7 version of zeroMQ.

https://github.com/xumingming/storm-wiki/blob/master/Installing-native-dependencies.md

已知其他版本会导致问题,因为存在一些严重的错误.您使用的是哪个版本的 zeroMQ?

Other version are known to cause issues as there are some serious bugs. Which version of zeroMQ are you using?

这篇关于风暴错误 java.lang.UnsatisfiedLinkError?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-15 15:13