Hi,
I am using tranquility inside my strom bolt to send data onto druid.
I am facing timeout issues when I am sending the events.
I have learnt from other posts that ti might occur when tranquility is not able to find the tasks.
When I checked the logs of strom, overlord and realtime, there is something fishy happening.
I see that tranquility creates different tasks, but looks out for different tasks while sending data.
I am using partitions as 1 and replication as 2.
Please find the logs:
strom-tranquility log while creation:
2014-12-17 05:00:21 c.m.c.s.control$ [INFO] Creating druid indexing task with id: index_realtime_offer_impressions_test_3_2014-12-17T05:00:00.000Z_0_1_fkaopgij (service = overlord)
2014-12-17 05:00:21 c.m.c.s.control$ [INFO] Created druid indexing task with id: index_realtime_offer_impressions_test_3_2014-12-17T05:00:00.000Z_0_0_dnfdfimf (service = overlord)
2014-12-17 05:00:21 c.m.c.s.control$ [INFO] Created druid indexing task with id: index_realtime_offer_impressions_test_3_2014-12-17T05:00:00.000Z_0_1_fkaopgij (service = overlord)
index_realtime_offer_impressions_test_3_2014-12-17T05:00:00.000Z_0_0_dnfdfimf
index_realtime_offer_impressions_test_3_2014-12-17T05:00:00.000Z_0_1_fkaopgij
Co-od console:
running: index_realtime_offer_impressions_test_3_2014-12-17T05:00:00.000Z_0_0_dnfdfimf
pending : index_realtime_offer_impressions_test_3_2014-12-17T05:00:00.000Z_0_1_fkaopgij
strom-tranquility log while sending data:
2014-12-17 04:58:50 c.m.e.c.LoggingEmitter [INFO] Event [{"feed":"alerts","timestamp":"2014-12-17T04:58:50.629Z","service":"tranquility","host":"localhost","severity":"anomaly","description":"Failed to propagate events: overlord/offer_impressions_test_3","data":{"exceptionType":"com.twitter.finagle.GlobalRequestTimeoutException","exceptionStackTrace":"com.twitter.finagle.GlobalRequestTimeoutException: exceeded 1.minutes+30.seconds to druid:firehose:offer_impressions_test_3-04-0000-0001 while waiting for a response for the request, including retries (if applicable)\n\tat com.twitter.finagle.NoStacktrace(Unknown Source)\n","timestamp":"2014-12-17T04:00:00.000Z","beams":"HashPartitionBeam(DruidBeam(timestamp = 2014-12-17T04:00:00.000Z, partition = 0, tasks = [index_realtime_offer_impressions_test_3_2014-12-17T04:00:00.000Z_0_0_pklcjeac/offer_impressions_test_3-04-0000-0000; index_realtime_offer_impressions_test_3_2014-12-17T04:00:00.000Z_0_1_epnblfng/offer_impressions_test_3-04-0000-0001]))","eventCount":101,"exceptionMessage":"exceeded 1.minutes+30.seconds to druid:firehose:offer_impressions_test_3-04-0000-0001 while waiting for a response for the request, including retries (if applicable)"}}]
2014-12-17 04:58:50 c.m.t.b.ClusteredBeam [WARN] Emitting alert: [anomaly] Failed to propagate events: overlord/offer_impressions_test_3
{
"eventCount" : 101,
"timestamp" : "2014-12-17T04:00:00.000Z",
"beams" : "HashPartitionBeam(DruidBeam(timestamp = 2014-12-17T04:00:00.000Z, partition = 0, tasks = [index_realtime_offer_impressions_test_3_2014-12-17T04:00:00.000Z_0_0_pklcjeac/offer_impressions_test_3-04-0000-0000; index_realtime_offer_impressions_test_3_2014-12-17T04:00:00.000Z_0_1_epnblfng/offer_impressions_test_3-04-0000-0001]))"
}
index_realtime_offer_impressions_test_3_2014-12-17T04:00:00.000Z_0_0_pklcjeac
index_realtime_offer_impressions_test_3_2014-12-17T04:00:00.000Z_0_1_epnblfng
2014-12-17 05:00:21 c.m.t.b.ClusteredBeam [INFO] Writing new beam data to[/tranquility/beams/overlord/offer_impressions_test_3/data]: {"latestTime":"2014-12-17T05:00:00.000Z","latestCloseTime":"2014-12-17T03:00:00.000Z","beams":{"2014-12-17T04:00:00.000Z":[{"timestamp":"2014-12-17T04:00:00.000Z","partition":0,"tasks":[{"id":"index_realtime_offer_impressions_test_3_2014-12-17T04:00:00.000Z_0_0_pklcjeac","firehoseId":"offer_impressions_test_3-04-0000-0000"},{"id":"index_realtime_offer_impressions_test_3_2014-12-17T04:00:00.000Z_0_1_epnblfng","firehoseId":"offer_impressions_test_3-04-0000-0001"}]}],"2014-12-17T05:00:00.000Z":[{"timestamp":"2014-12-17T05:00:00.000Z","partition":0,"tasks":[{"id":"index_realtime_offer_impressions_test_3_2014-12-17T05:00:00.000Z_0_0_dnfdfimf","firehoseId":"offer_impressions_test_3-05-0000-0000"},{"id":"index_realtime_offer_impressions_test_3_2014-12-17T05:00:00.000Z_0_1_fkaopgij","firehoseId":"offer_impressions_test_3-05-0000-0001"}]}]}}
These are the different tasks which its looking for while sending, which don't exist at co-odinator.
Can you please help us in this regard, we are not able to send data to druid from strom because of this issue.
Is this a
Thanks,
Ravi