简体   繁体   English

StormCrawler:无法规范化地址

[英]StormCrawler: Unable to canonicalize address

When running StormCrawler using the ElasticSearch archetype version 2.1.0, in combination with Apache Storm version 2.2.0 and OpenJDK 11, I get the following error when running the default topology:使用 ElasticSearch 原型版本 2.1.0 结合 Apache Storm 版本 2.2.0 和 OpenJDK 11 运行 StormCrawler 时,运行默认拓扑时出现以下错误:

10:51:54.160 [main-SendThread(localhost:2000)] WARN  o.a.s.s.o.a.z.ClientCnxn - Session 0x0 for server localhost/<unresolved>:2000, unexpected error, closing socket connection and attempting reconnect
java.lang.IllegalArgumentException: Unable to canonicalize address localhost/<unresolved>:2000 because it's not resolvable
        at org.apache.storm.shade.org.apache.zookeeper.SaslServerPrincipal.getServerPrincipal(SaslServerPrincipal.java:65) ~[storm-shaded-deps-2.2.0.jar:2.2.0]
        at org.apache.storm.shade.org.apache.zookeeper.SaslServerPrincipal.getServerPrincipal(SaslServerPrincipal.java:41) ~[storm-shaded-deps-2.2.0.jar:2.2.0]
        at org.apache.storm.shade.org.apache.zookeeper.ClientCnxn$SendThread.startConnect(ClientCnxn.java:1001) ~[storm-shaded-deps-2.2.0.jar:2.2.0]
        at org.apache.storm.shade.org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1060) [storm-shaded-deps-2.2.0.jar:2.2.0]

What does this mean and how can it be corrected?这是什么意思,如何纠正?

Just found this sorry for the late reply but just in case someone else has this problem刚刚发现这很抱歉回复晚了,但以防万一其他人有这个问题

According to Apache Storm local cluster "Unable to canonicalize address" , this can be fixed by using Storm 2.1.0根据Apache Storm local cluster "Unable to canonicalize address" ,这可以通过使用 Storm 2.1.0 修复

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM