Deep Storage :Local

I am exploring Druid and using package for it.

I am able to post wikiticker data which comes with and able to see the data in pivot as expected.

After that , I have created another specs file and placed in quickstart folder and run the indexing job to load the data .

I am getting the following error message

                Bytes Written=8
2016-07-13T08:34:11,107 ERROR [task-runner-0-priority-0] io.druid.indexer.IndexGeneratorJob - [File var/druid/hadoop-tmp/sales/2016-07-13T083357.479Z/ce6b738c2f6749098763ac533b80abed/segmentDescriptorInfo does not exist] SegmentDescriptorInfo is not found usually when indexing process did not produce any segments meaning either there was no input data to process or all the input events were discarded due to some error
2016-07-13T08:34:11,110 ERROR [task-runner-0-priority-0] io.druid.indexing.overlord.ThreadPoolTaskRunner - Exception while running task[HadoopIndexTask{id=index_hadoop_sales_2016-07-13T08:33:53.220Z, type=index_hadoop, dataSource=sales}]
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
        at ~[guava-16.0.1.jar:?]
        at io.druid.indexing.common.task.HadoopTask.invokeForeignLoader( ~[druid-indexing-service-]
        at ~[druid-indexing-service-]
        at io.druid.indexing.overlord.ThreadPoolTaskRunner$ [druid-indexing-service-]
        at io.druid.indexing.overlord.ThreadPoolTaskRunner$ [druid-indexing-service-]
        at [?:1.8.0_92]
        at java.util.concurrent.ThreadPoolExecutor.runWorker( [?:1.8.0_92]
        at java.util.concurrent.ThreadPoolExecutor$ [?:1.8.0_92]
        at [?:1.8.0_92]
Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_92]
        at sun.reflect.NativeMethodAccessorImpl.invoke( ~[?:1.8.0_92]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke( ~[?:1.8.0_92]
        at java.lang.reflect.Method.invoke( ~[?:1.8.0_92]
        at io.druid.indexing.common.task.HadoopTask.invokeForeignLoader( ~[druid-indexing-service-]
        ... 7 more
Caused by: java.lang.RuntimeException: File var/druid/hadoop-tmp/sales/2016-07-13T083357.479Z/ce6b738c2f6749098763ac533b80abed/segmentDescriptorInfo does not exist


bin/post-index-task --file quickstart/sales-index.json

“type” : “index_hadoop”,
“spec” : {
“ioConfig” : {
“type” : “hadoop”,
“inputSpec” : {
“type” : “static”,
“paths” : “quickstart/sales-2016-06-27-sampled.json”
“dataSchema”: {
“dataSource”: “sales”,
“granularitySpec”: {
“type”: “uniform”,
“segmentGranularity”: “week”,
“queryGranularity”: “none”,
“intervals” : [“2016-06-27/2016-06-28”]
“parser”: {
“type”: “string”,
“parseSpec”: {
“format”: “json”,
“timestampSpec”: {
“column”: “Week”,
“format”: “YYYYMMDD”
“dimensionsSpec”: {
“dimensions”: [“Week”,
“dimensionExclusions”: ,
“metricsSpec”: [{
“type”: “count”,
“name”: “count”
“type”: “doubleSum”,
“name”: “QtySum”,
“fieldName”: “Qty”
“tuningConfig” : {
“type” : “hadoop”,
“partitionsSpec” : {
“type” : “hashed”,
“targetPartitionSize” : 5000000
“jobProperties” : {}

**Ingestion specs for the file is given as **

{“Week”: 20131014,“SKU”: “0001780”,“Str”: “0011100”,“Type”: “abc”,“Qty”: 22}
{“Week”: 20131223,“SKU”: “0001780”,“Str”: “0001100”,“Type”: “abc”,“Qty”: 2}

sales-2016-06-27-sampled.json sample data set is as following**

Hey Nick,

Your interval (``“2016-06-27/2016-06-28”) needs to match the timestamps of your data (20131014, 20131223) otherwise no segments will be created. Also I don’t think your timestampSpec format is what you intended, you probably want ‘YYYYMMdd’ (see:

``On Wednesday, July 13, 2016 at 2:36:28 AM UTC-6, Nick wrote:

Thanks David!

It worked after correcting the intervals in the ingestion spec.