Druid经纪人击中UnresolvedAddressException [英] UnresolvedAddressException being hit by Druid broker
问题描述
我是德鲁伊的新手.我已经使用即兴IAP程序包设置了集群.事件已使用宁静从卡夫卡吸收到Druid中.我可以看到该事件已被Tranquility接受-以下日志语句是我用来验证的内容:
I'm new to Druid. I've set up a cluster using the Imply IAP package. Events are being ingested into Druid from Kafka using Tranquility. I can see that the events are being accepted by Tranquility - the following log statements are what I used to verify that:
2016-10-03 19:19:22,715 [KafkaConsumer-CommitThread] INFO c.m.tranquility.kafka.KafkaConsumer - Flushed {conn_recs={receivedCount=1, sentCount=1, droppedCount=0, unparseableCount=0}} pending messages in 32056ms and committed offsets in 15ms.
但是,当我尝试在数据源上运行timeBoundary查询时,代理似乎正在遇到异常.
However, the broker seems to be hitting an exception when I try running a timeBoundary query on the datasource.
以下是异常堆栈跟踪(从代理的日志中复制):
Following is the exception stack trace (copied from the broker's log):
java.nio.channels.UnresolvedAddressException
at sun.nio.ch.Net.checkAddress(Net.java:101) ~[?:1.8.0_66]
at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:622) ~[?:1.8.0_66]
at org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink.connect(NioClientSocketPipelineSink.java:108) [netty-3.10.4.Final.jar:?]
at org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink.eventSunk(NioClientSocketPipelineSink.java:70) [netty-3.10.4.Final.jar:?]
at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendDownstream(DefaultChannelPipeline.java:779) [netty-3.10.4.Final.jar:?]
at org.jboss.netty.handler.codec.oneone.OneToOneEncoder.handleDownstream(OneToOneEncoder.java:54) [netty-3.10.4.Final.jar:?]
由于无法确定需要进一步调试的日志/进程,我已经停留了一段时间.
I've been stuck at this point for while since I'm not sure which logs/processes I need to look into to further debug this.
问题:有人可以解释一下我该如何调试此类问题-即需要查看的任何特定日志,等等?
Question: Could someone explain how I need to go about debugging such an issue - ie, any specific logs I need to look at, etc.?
顺便说一句,我正在使用一个单独的3节点Zookeeper集群和一个单节点mysql实例作为druid集群的外部依赖项.
Btw, I'm using a separate 3-node zookeeper cluster and a single node mysql instance as external dependencies for the druid cluster.
如果需要提供更多信息,请告诉我.
Please let me know if I need to provide more information.
谢谢,Jithin
推荐答案
- 宁静归于动物园管理员,并获得了霸主的DNS名称.
- 宁静尝试连接到霸主,然后您收到UnresolvedAddressException.
您需要设置DNS或执行某些操作才能通过主机名解析IP地址.
You need to setup DNS or to do something to be able to resolve IP address by hostname.
这篇关于Druid经纪人击中UnresolvedAddressException的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!