java.nio.channels.UnresolvedAddressException when running druid Wikipedia app

675 views
Skip to first unread message

Mahesh Abnave

unread,
Jun 21, 2015, 3:33:57 PM6/21/15
to druid-de...@googlegroups.com
I am trying out druid.io with zookeeper 34.6 on fedora 20 x64. U am following tut [here](
http://druid.io/docs/latest/Tutorial:-A-First-Look-at-Druid.html)

After huge effort I am able to run zookeeper. Now when I run the server of sample druid app
It gives me below error. Notice that it says `Inventory initialized `

2015-06-21T17:14:03,472 INFO [ServerInventoryView-0] io.druid.client.BatchServerInventoryView - Inventory Initialized
2015-06-21T17:14:03,472 ERROR [main] io.druid.cli.CliBroker - Error when starting up. Failing.
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_45]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_45]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_45]
at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_45]
at com.metamx.common.lifecycle.Lifecycle$AnnotationBasedHandler.start(Lifecycle.java:331) ~[java-util-0.27.0.jar:?]
at com.metamx.common.lifecycle.Lifecycle.start(Lifecycle.java:250) ~[java-util-0.27.0.jar:?]
at io.druid.guice.LifecycleModule$2.start(LifecycleModule.java:136) ~[druid-api-0.3.8.jar:0.7.3]
at io.druid.cli.GuiceRunnable.initLifecycle(GuiceRunnable.java:71) [druid-services-0.7.3.jar:0.7.3]
at io.druid.cli.ServerRunnable.run(ServerRunnable.java:38) [druid-services-0.7.3.jar:0.7.3]
at io.druid.cli.Main.main(Main.java:88) [druid-services-0.7.3.jar:0.7.3]
Caused by: java.nio.channels.UnresolvedAddressException
at sun.nio.ch.Net.checkAddress(Net.java:127) ~[?:1.7.0_45]
at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:640) ~[?:1.7.0_45]
at com.ircclouds.irc.api.comms.SocketChannelConnection.open(SocketChannelConnection.java:24) ~[irc-api-1.0-0011.jar:?]
at com.ircclouds.irc.api.AbstractIRCSession.open(AbstractIRCSession.java:104) ~[irc-api-1.0-0011.jar:?]
at com.ircclouds.irc.api.IRCApiImpl.connect(IRCApiImpl.java:99) ~[irc-api-1.0-0011.jar:?]
at io.druid.segment.realtime.firehose.IrcFirehoseFactory.connect(IrcFirehoseFactory.java:116) ~[druid-server-0.7.3.jar:0.7.3]
at io.druid.segment.realtime.firehose.IrcFirehoseFactory.connect(IrcFirehoseFactory.java:59) ~[druid-server-0.7.3.jar:0.7.3]
at io.druid.segment.realtime.FireDepartment.connect(FireDepartment.java:97) ~[druid-server-0.7.3.jar:0.7.3]
at io.druid.segment.realtime.RealtimeManager$FireChief.init(RealtimeManager.java:207) ~[druid-server-0.7.3.jar:0.7.3]
at io.druid.segment.realtime.RealtimeManager.start(RealtimeManager.java:109) ~[druid-server-0.7.3.jar:0.7.3]
... 10 more


So which address it is failing to resolve? I am new to both druid and zookeeper so must be missing some architectural understanding.

Mahesh Abnave

unread,
Jun 21, 2015, 3:44:44 PM6/21/15
to druid-de...@googlegroups.com
Please find the full terminal output in this log file:https://goo.gl/BSf9qz

Fangjin Yang

unread,
Jun 23, 2015, 12:54:11 AM6/23/15
to druid-de...@googlegroups.com, abna...@gmail.com
Hi Mahesh, are you behind any corporate firewall or anything else that prevents you from connecting to IRC?

Mahesh Abnave

unread,
Jun 23, 2015, 4:10:57 AM6/23/15
to druid-de...@googlegroups.com
Hi Fangjin,

No I am not behind any corporate firewall. I am running it on my personal laptop atop VMware.
I dont think my laptop firewall is blocking anything.

How can I know which address it is failing to resolve?

Nishant Bangarwa

unread,
Jun 23, 2015, 9:33:16 AM6/23/15
to druid-de...@googlegroups.com
Hi Mahesh, 
Its trying to connect to irc.wikimedia.org

from logs -  
connecting to irc server [irc.wikimedia.org]


--
You received this message because you are subscribed to the Google Groups "Druid Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to druid-developm...@googlegroups.com.
To post to this group, send email to druid-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/druid-development/bd85981a-84e3-4463-9d47-d54e87309cf4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Reply all
Reply to author
Forward
0 new messages