Tranquility client error: com.twitter.finagle.NoBrokersAvailableException: No hosts are available f

1,310 views
Skip to first unread message

Sushil Pangeni

unread,
Apr 25, 2016, 9:05:38 PM4/25/16
to Druid Development
Hi,


When ever i run the example i get the following errors from tranquility.

Notes:
1. In the overlord console it does show me a new running task with the same names as the data source i am trying to push index_realtime_wikipedia5_2016-04-26T00:00:00.000Z_0_0
2. I went online and did bit of digging around for similar issue. Based on their solution,  I changed the "selectStrategy" to equalDistribution"
3. I also changed the "task.warmingPeriod" to 10 minutes.
4. All the names in my setup are default and based on the quick start tutorial. 
5. All the nodes including tranquility are running on the same node.


I have attached the ingestion specification file. 


Apr 25, 2016 5:51:16 PM com.twitter.finagle.loadbalancer.LoadBalancerFactory$StackModule$$anonfun$5 apply
INFO: druidTask!druid:overlord!index_realtime_wikipedia5_2016-04-26T00:00:00.000Z_0_0: name resolution is negative (local dtab: Dtab())
2016-04-25T17:52:17,316 WARN [Hashed wheel timer #1] com.metamx.tranquility.beam.ClusteredBeam - Emitting alert: [anomaly] Failed to propagate events: druid:overlord/wikipedia5
{
  "eventCount" : 1,
  "timestamp" : "2016-04-26T00:00:00.000Z",
  "beams" : "MergingPartitioningBeam(DruidBeam(interval = 2016-04-26T00:00:00.000Z/2016-04-26T01:00:00.000Z, partition = 0, tasks = [index_realtime_wikipedia5_2016-04-26T00:00:00.000Z_0_0/wikipedia5-00-0000-0000]))"
}
com.twitter.finagle.NoBrokersAvailableException: No hosts are available for druidTask!druid:overlord!index_realtime_wikipedia5_2016-04-26T00:00:00.000Z_0_0, Dtab.base=[], Dtab.local=[]
        at com.twitter.finagle.NoStacktrace(Unknown Source) ~[?:?]
2016-04-25T17:52:17,358 INFO [Hashed wheel timer #1] com.metamx.emitter.core.LoggingEmitter - Event [{"feed":"alerts","timestamp":"2016-04-25T17:52:17.334-07:00","service":"tranquility","host":"localhost","severity":"anomaly","description":"Failed to propagate events: druid:overlord/wikipedia5","data":{"exceptionType":"com.twitter.finagle.NoBrokersAvailableException","exceptionStackTrace":"com.twitter.finagle.NoBrokersAvailableException: No hosts are available for druidTask!druid:overlord!index_realtime_wikipedia5_2016-04-26T00:00:00.000Z_0_0, Dtab.base=[], Dtab.local=[]\n\tat com.twitter.finagle.NoStacktrace(Unknown Source)\n","timestamp":"2016-04-26T00:00:00.000Z","beams":"MergingPartitioningBeam(DruidBeam(interval = 2016-04-26T00:00:00.000Z/2016-04-26T01:00:00.000Z, partition = 0, tasks = [index_realtime_wikipedia5_2016-04-26T00:00:00.000Z_0_0/wikipedia5-00-0000-0000]))","eventCount":1,"exceptionMessage":"No hosts are available for druidTask!druid:overlord!index_realtime_wikipedia5_2016-04-26T00:00:00.000Z_0_0, Dtab.base=[], Dtab.local=[]"}}]
2016-04-25T17:52:17,372 WARN [Hashed wheel timer #1] io.connector.druid.DruidConnector - Dropped message: {timestamp=2016-04-26T00:51:13.984Z, page=foo, added=0}
com.metamx.tranquility.tranquilizer.MessageDroppedException: Message dropped
        at com.twitter.finagle.NoStacktrace(Unknown Source) ~[?:?]
2016-04-25T17:52:17,375 INFO [Tranquilizer-BackgroundSend-[com.metamx.tranquility.beam.TransformingBeam@77114efe]] com.metamx.tranquility.druid.DruidBeam - Closing Druid beam for datasource[wikipedia5] interval[2016-04-26T00:00:00.000

Thanks,
Sushil 
ingestion.json

Fangjin Yang

unread,
Apr 26, 2016, 8:36:14 PM4/26/16
to Druid Development
What is the service name of your overlord? Is that also the name you've set in Tranq?

Olivier NOUGUIER

unread,
May 20, 2016, 10:38:45 AM5/20/16
to Druid Development
I am encountering the same issue ! Any news on this ?

Gian Merlino

unread,
May 20, 2016, 1:06:50 PM5/20/16
to druid-de...@googlegroups.com
Hey Olivier,

The most common reason for something like "No hosts are available for druidTask!druid:overlord!index_realtime_wikipedia5_2016-04-26T00:00:00.000Z_0_0" is that the referenced task "index_realtime_wikipedia5_2016-04-26T00:00:00.000Z_0_0" has not started up for some reason. The Overlord is responsible for starting tasks, so try checking your Overlord log or Overlord console (http://OVERLORD_HOST:8090/console.html) for clues.

Gian

--
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/3579fd24-1515-4bbe-845d-fd3a36c12d55%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Fangjin Yang

unread,
May 26, 2016, 1:03:26 PM5/26/16
to Druid Development
In the future please post these questions to https://groups.google.com/forum/#!forum/druid-user

Gian

To unsubscribe from this group and stop receiving emails from it, send an email to druid-development+unsubscribe@googlegroups.com.
To post to this group, send email to druid-development@googlegroups.com.

11512...@qq.com

unread,
Jun 13, 2016, 9:47:24 PM6/13/16
to Druid Development
hi,

在 2016年4月26日星期二 UTC+8上午9:05:38,Sushil Pangeni写道:
Hi, Sushil Pangeni

  I am encountering the same issue ! Any news on this ?

 could you tell your solution???

fe...@nicepeopleatwork.com

unread,
Jun 21, 2016, 6:00:09 AM6/21/16
to Druid Development
+1

Fangjin Yang

unread,
Jun 22, 2016, 12:32:06 PM6/22/16
to Druid Development
Please see Gian's answer in this thread.
Reply all
Reply to author
Forward
0 new messages