Hi,
We are trying to setup druid cluster with 3 nodes with m4.xlarge machine [8gb, 2 core]
With druid1 running overload and coordinator process,
druid2 running historical and middlemanager process,
druid3 running broker and transquility process,
But all the events which we are emitting to kafka is simply getting rejected by tranquility, and same events are getting consumed with 1 node standalone cluster. Overload server doesn't have any logs for the job, only its showing status FAILED. Attached screenshot of overload console and bellow is the payload and status:
Status:
2016-05-12 12:18:14,867 [KafkaConsumer-CommitThread] INFO c.m.tranquility.kafka.KafkaConsumer - Flushed {booking_sample3={receivedCount=5, sentCount=0, failedCount=5}} pending messages in 2ms and committed offsets in 4ms.
Druid _common runtime config:
druid.extensions.loadList=["druid-kafka-eight", "druid-s3-extensions", "druid-histogram", "druid-datasketches", "druid-namespace-lookup", "mysql-metadata-storage"]
druid.startup.logging.logProperties=true
druid.zk.service.host=zk1,zk2,zk3
druid.zk.paths.base=/druid
druid.metadata.storage.type=mysql
druid.metadata.storage.connector.connectURI=jdbc:mysql://xyz.com:3306/druid
druid.metadata.storage.connector.user=dr
druid.metadata.storage.connector.password=druid
druid.storage.type=s3
druid.storage.bucket=s3://XXXXXX/dev/druid
druid.storage.baseKey=
druid.s3.accessKey=YYYYYY
druid.s3.secretKey=CCCCCCCCCCC
druid.indexer.logs.type=file
druid.indexer.logs.directory=var/druid/indexing-logs
druid.selectors.indexing.serviceName=druid:overlord
druid.selectors.coordinator.serviceName=druid:prod:coordinator
druid.monitoring.monitors=["com.metamx.metrics.JvmMonitor"]
druid.emitter=logging
druid.emitter.logging.logLevel=info
overload run time config:
druid.host=druid1.com
druid.service=druid/overlord
druid.port=8090
druid.indexer.queue.startDelay=PT30S
druid.indexer.runner.type=remote
druid.indexer.storage.type=metadata
coordinator run time config:
druid.host=druid1.com
druid.service=druid/coordinator
druid.port=8081
druid.coordinator.startDelay=PT30S
druid.coordinator.period=PT30S
broker run time config:
druid.host=druid3.com
druid.service=druid/broker
druid.port=8082
druid.broker.http.numConnections=5
druid.server.http.numThreads=15
druid.processing.buffer.sizeBytes=536870912
druid.processing.numThreads=7
druid.broker.cache.useCache=true
druid.broker.cache.populateCache=true
druid.cache.type=local
druid.cache.sizeInBytes=2000000000
historical run time config:
druid.host=druid2.com
druid.service=druid/historical
druid.port=8083
druid.server.http.numThreads=10
druid.processing.buffer.sizeBytes=536870912
druid.processing.numThreads=7
druid.segmentCache.locations=[{"path":"var/druid/segment-cache","maxSize"\:130000000000}]
druid.server.maxSize=130000000000
middlemanager run time config:
druid.host=druid2.com
druid.service=druid/middleManager
druid.port=8091
druid.worker.capacity=3
druid.indexer.runner.javaOpts=-server -Xmx2g -Duser.timezone=UTC -Dfile.encoding=UTF-8 -Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager
druid.indexer.task.baseTaskDir=var/druid/task
druid.server.http.numThreads=15
druid.processing.buffer.sizeBytes=536870912
druid.processing.numThreads=2
druid.indexer.task.hadoopWorkingPath=var/druid/hadoop-tmp
druid.indexer.task.defaultHadoopCoordinates=["org.apache.hadoop:hadoop-client:2.3.0"]
--
You received this message because you are subscribed to the Google Groups "Druid User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to druid-user+...@googlegroups.com.
To post to this group, send email to druid...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/druid-user/977ea310-bc90-43de-89bf-e657d222a885%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
com.twitter.finagle.NoBrokersAvailableException: No hosts are available for disco!firehose:druid:overlord:booking_data_closure_final-013-0000-0000, Dtab.base=[], Dtab.local=[]
at com.twitter.finagle.NoStacktrace(Unknown Source) ~[na:na]
2016-05-16 14:02:50,544 [Hashed wheel timer #1] INFO c.metamx.emitter.core.LoggingEmitter - Event [{"feed":"alerts","timestamp":"2016-05-16T14:02:50.543Z","service":"tranquility","host":"localhost","severity":"anomaly","description":"Failed to propagate events: druid:overlord/booking_data_closure_final","data":{"exceptionType":"com.twitter.finagle.NoBrokersAvailableException","exceptionStackTrace":"com.twitter.finagle.NoBrokersAvailableException: No hosts are available for disco!firehose:druid:overlord:booking_data_closure_final-013-0000-0000, Dtab.base=[], Dtab.local=[]\n\tat com.twitter.finagle.NoStacktrace(Unknown Source)\n","timestamp":"2016-05-16T13:00:00.000Z","beams":"MergingPartitioningBeam(DruidBeam(interval = 2016-05-16T13:00:00.000Z/2016-05-16T14:00:00.000Z, partition = 0, tasks = [index_realtime_booking_data_closure_final_2016-05-16T13:00:00.000Z_0_0/booking_data_closure_final-013-0000-0000]))","eventCount":2000,"exceptionMessage":"No hosts are available for disco!firehose:druid:overlord:booking_data_closure_final-013-0000-0000, Dtab.base=[], Dtab.local=[]"}}]
2016-05-16 14:03:03,625 [KafkaConsumer-CommitThread] INFO c.m.tranquility.kafka.KafkaConsumer - Flushed {lovenish={receivedCount=2005, sentCount=0, droppedCount=2005, unparseableCount=0}} pending messages in 83829ms and committed offsets in 2ms.
2016-05-16 14:04:05,383 [Hashed wheel timer #1] WARN c.m.tranquility.beam.ClusteredBeam - Emitting alert: [anomaly] Failed to propagate events: druid:overlord/booking_data_closure_final
{
"eventCount" : 1,
"timestamp" : "2016-05-16T13:00:00.000Z",
"beams" : "MergingPartitioningBeam(DruidBeam(interval = 2016-05-16T13:00:00.000Z/2016-05-16T14:00:00.000Z, partition = 0, tasks = [index_realtime_booking_data_closure_final_2016-05-16T13:00:00.000Z_0_0/booking_data_closure_final-013-0000-0000]))"
}
--
You received this message because you are subscribed to a topic in the Google Groups "Druid User" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/druid-user/tjn28tQ7qps/unsubscribe.
To unsubscribe from this group and all its topics, send an email to druid-user+...@googlegroups.com.
To post to this group, send email to druid...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/druid-user/257bbde7-42df-4518-9f31-ec10bc86c23b%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/druid-user/CA%2BYv4CAG53piXsLJgY40W53WWrQi7qANZJdOnVF2izw2_vhU%2BQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/druid-user/CACW6ntcoPijHDPhHKkZDstnJRnXXccZ00V6w%2BJr-3Mp0OY0J9g%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/druid-user/CA%2BYv4CDyKb3MsH9%3DSsLrAVWjTJvredheprzR%3DgpawXaBUtBXng%40mail.gmail.com.
2016-05-20T14:17:26,725 INFO [TaskQueue-Manager] io.druid.indexing.common.actions.LocalTaskActionClient - Performing action for task[index_hadoop_booking_data_closure_final_2016-05-20T14:06:24.279Z]: LockTryAcquireAction{interval=2016-05-20T00:00:00.000Z/2016-05-21T00:00:00.000Z}
{"type":"index_hadoop",
"spec":{
"dataSchema":{"dataSource":"booking_data_closure_final",
"parser":{
"type":"hadoopyString",
"parseSpec":{"format":"json",
"timestampSpec" : {
"column" : "metadata.timestamp",
"format" : "millis"
},
"dimensionsSpec":{
"dimensions":[],
"dimensionExclusions":["data.output_fields","data.input_fields","data.tax_breakup","data.discount_constraints","metadata.timestamp"],
"spatialDimensions":[]
}
}
},
"metricsSpec" : [
{
"type" : "count",
"name" : "count"
}
],
"granularitySpec":{
"type":"uniform",
"segmentGranularity":"hour",
"queryGranularity" :"none",
"intervals" : [ "2016-05-20/2016-05-21" ]
}
},
"ioConfig" : {
"type" : "hadoop",
"inputSpec" : {
"type" : "static",
"paths" : "/home/vikasrana/sample_input"
}
},
"tuningConfig" : {
"type": "hadoop"
}
},
"hadoopDependencyCoordinates": ["org.apache.hadoop:hadoop-client:2.7.1"]
}
And copied hadoop config file under _common dir and having hadoop 2.7.1 cluster
root@druid1:~/druid_final4# ls -l conf/druid/_common/
total 64
-rw-r--r-- 1 root opsworks 2035 May 20 17:17 capacity-scheduler.xml
-rw-r--r-- 1 root root 4169 May 13 12:56 common.runtime.properties
-rw-r--r-- 1 root opsworks 3167 May 20 17:17 core-site.xml
-rw-r--r-- 1 root opsworks 1308 May 20 17:17 hadoop-policy.xml
-rw-r--r-- 1 root opsworks 6687 May 20 17:17 hdfs-site.xml
-rw-r--r-- 1 root root 375 May 13 12:56 log4j2.xml
-rw-r--r-- 1 root opsworks 6573 May 20 17:17 mapred-site.xml
-rw-r--r-- 1 root opsworks 884 May 20 17:17 ssl-client.xml
-rw-r--r-- 1 root opsworks 1000 May 20 17:17 ssl-server.xml
-rw-r--r-- 1 root opsworks 14731 May 20 17:17 yarn-site.xml
root@druid1:~/druid_final4#
To view this discussion on the web visit https://groups.google.com/d/msgid/druid-user/CACZNdYBbLG-6W%2BJHRmzCm-zWaD%3DPOTViqyUOM5HZB9gEmfe4Hg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/druid-user/CA%2BYv4CD0A7Cbneb75jydC1DDHBRX9cj43foV76v8xnKbNHj1ZA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/druid-user/CAGMm%3DjQhfKq1S_TxkHjbOGzxNPe0E98REEY%2BmBji%3DnzwX67d%3Dg%40mail.gmail.com.
Gian
To unsubscribe from this group and all its topics, send an email to druid-user+unsubscribe@googlegroups.com.
To post to this group, send email to druid...@googlegroups.com.--To view this discussion on the web visit https://groups.google.com/d/msgid/druid-user/257bbde7-42df-4518-9f31-ec10bc86c23b%40googlegroups.com.
You received this message because you are subscribed to the Google Groups "Druid User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to druid-user+unsubscribe@googlegroups.com.
To post to this group, send email to druid...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/druid-user/CA%2BYv4CAG53piXsLJgY40W53WWrQi7qANZJdOnVF2izw2_vhU%2BQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "Druid User" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/druid-user/tjn28tQ7qps/unsubscribe.
To unsubscribe from this group and all its topics, send an email to druid-user+unsubscribe@googlegroups.com.
To post to this group, send email to druid...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/druid-user/CACW6ntcoPijHDPhHKkZDstnJRnXXccZ00V6w%2BJr-3Mp0OY0J9g%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "Druid User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to druid-user+unsubscribe@googlegroups.com.
To post to this group, send email to druid...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/druid-user/CA%2BYv4CDyKb3MsH9%3DSsLrAVWjTJvredheprzR%3DgpawXaBUtBXng%40mail.gmail.com.
--
You received this message because you are subscribed to a topic in the Google Groups "Druid User" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/druid-user/tjn28tQ7qps/unsubscribe.
To unsubscribe from this group and all its topics, send an email to druid-user+unsubscribe@googlegroups.com.
To post to this group, send email to druid...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/druid-user/CACZNdYBbLG-6W%2BJHRmzCm-zWaD%3DPOTViqyUOM5HZB9gEmfe4Hg%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "Druid User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to druid-user+unsubscribe@googlegroups.com.
To post to this group, send email to druid...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/druid-user/CA%2BYv4CD0A7Cbneb75jydC1DDHBRX9cj43foV76v8xnKbNHj1ZA%40mail.gmail.com.
--
You received this message because you are subscribed to a topic in the Google Groups "Druid User" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/druid-user/tjn28tQ7qps/unsubscribe.
To unsubscribe from this group and all its topics, send an email to druid-user+unsubscribe@googlegroups.com.
To post to this group, send email to druid...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/druid-user/CAGMm%3DjQhfKq1S_TxkHjbOGzxNPe0E98REEY%2BmBji%3DnzwX67d%3Dg%40mail.gmail.com.
http://overlord_ip:port/console.html
Gian
To unsubscribe from this group and all its topics, send an email to druid-user+...@googlegroups.com.
To post to this group, send email to druid...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/druid-user/257bbde7-42df-4518-9f31-ec10bc86c23b%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Druid User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to druid-user+...@googlegroups.com.
To post to this group, send email to druid...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/druid-user/CA%2BYv4CAG53piXsLJgY40W53WWrQi7qANZJdOnVF2izw2_vhU%2BQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "Druid User" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/druid-user/tjn28tQ7qps/unsubscribe.
To unsubscribe from this group and all its topics, send an email to druid-user+...@googlegroups.com.
To post to this group, send email to druid...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/druid-user/CACW6ntcoPijHDPhHKkZDstnJRnXXccZ00V6w%2BJr-3Mp0OY0J9g%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "Druid User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to druid-user+...@googlegroups.com.
To post to this group, send email to druid...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/druid-user/CA%2BYv4CDyKb3MsH9%3DSsLrAVWjTJvredheprzR%3DgpawXaBUtBXng%40mail.gmail.com.
--
You received this message because you are subscribed to a topic in the Google Groups "Druid User" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/druid-user/tjn28tQ7qps/unsubscribe.
To unsubscribe from this group and all its topics, send an email to druid-user+...@googlegroups.com.
To post to this group, send email to druid...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/druid-user/CACZNdYBbLG-6W%2BJHRmzCm-zWaD%3DPOTViqyUOM5HZB9gEmfe4Hg%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "Druid User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to druid-user+...@googlegroups.com.
To post to this group, send email to druid...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/druid-user/CA%2BYv4CD0A7Cbneb75jydC1DDHBRX9cj43foV76v8xnKbNHj1ZA%40mail.gmail.com.
--
You received this message because you are subscribed to a topic in the Google Groups "Druid User" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/druid-user/tjn28tQ7qps/unsubscribe.
To unsubscribe from this group and all its topics, send an email to druid-user+...@googlegroups.com.
To post to this group, send email to druid...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/druid-user/CAGMm%3DjQhfKq1S_TxkHjbOGzxNPe0E98REEY%2BmBji%3DnzwX67d%3Dg%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "Druid User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to druid-user+...@googlegroups.com.
To post to this group, send email to druid...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/druid-user/ed766ee6-face-4ea7-92c0-00b6409a7d86%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/druid-user/CACZNdYBRC4vaQ0p6bkAjAs4a95E7euWJEQEhzOS%2BR5osTQ12EQ%40mail.gmail.com.
Also we are druid logs for tasks running with tranquility. Only batch ingestion with hadoop is failing to start. Everything running fine except batch ingestion. Also is there another way for batch ingestion.
Thanks,
Vikas
To view this discussion on the web visit https://groups.google.com/d/msgid/druid-user/CA%2BYv4CAbUbi9X6080GbUb1jcCOENqAaW4V1uGiMQDm%2B2aW--nQ%40mail.gmail.com.