java.lang.RuntimeException:org.apache.storm.kafka.ZkCoordinator.refresh(ZkCoordinator.java:103)中的java.nio.channels.ClosedChannelException,位于org.apache.storm.kafka.ZkCoordinator.getMyManagedPartitions(ZkCoordinator。 java:69)atg.apache.storm.kafka.KafkaSpout.nextTuple(KafkaSpout.java:129)org.apache.storm.daemon.executor $ fn__7990 $ fn__8005 $ fn__8036.invoke(executor.clj:648)at org位于java.lang.Thread.run(Thread.java:745)的clojure.lang.AFn.run(AFn.java:22)中的.apache.storm.util $ async_loop $ fn__624.invoke(util.clj:484) by:java.nio.channels.ClosedChannelException at kafka.network.BlockingChannel.send(BlockingChannel.scala:100)at kafka.consumer.SimpleConsumer.liftedTree1 $ 1(SimpleConsumer.scala:78)at kafka.consumer.SimpleConsumer.kafka $ consumer $ SimpleConsumer $$ sendRequest(SimpleConsumer.scala:68)at kafka.consumer.SimpleConsumer.getOffsetsBefore(SimpleConsumer.scala:127)at kafka.javaapi.consumer.SimpleConsumer.getOffsetsBefore(SimpleConsumer.scala:79)at org.apache.storm 。K a fka.KafkaUtils.getOffset(KafkaUtils.java:75)atg.apache.storm.kafka.KafkaUtils.getOffset(KafkaUtils.java:65)at org.apache.storm.kafka.PartitionManager。(PartitionManager.java:94)at org.apache.storm.kafka.ZkCoordinator.refresh(ZkCoordinator.java:98)... 6 mo
任何人都可以帮我找出确切的问题。如果需要更多信息,请告诉我。
答案 0 :(得分:0)
我遇到了这个问题,问题是ZooKeeper主机名无法从辅助主机解析。