"null interval" Exception when using 'delta ingestion'

I’m trying to use ‘delta ingestion’ for delayed records as mentioned in http://druid.io/docs/latest/ingestion/update-existing-data.html

For all my calls with following inputSpec
“inputSpec” : {
“type” : “multi”,
“children” : [ {
“type” : “dataSource”,
“ingestionSpec” : {
“dataSource” : “dsName”,
“intervals” : [ “2016-01-05T09:15:00Z/2016-01-05T09:30:00Z” ]
}
}, {
“type” : “static”,
“paths” : “hdfs://path”
} ]
}

``

I see error:

java.lang.IllegalArgumentException: Instantiation of [simple type, class io.druid.indexer.hadoop.DatasourceIngestionSpec] value failed: null interval

``

I’ve attached the log file (with complete index file and error).

Can someone please help me out, on what am I doing wrong?

index-log.txt (62 KB)

update: I’m using imply-1.0.2

Hey Ashish,

Support for “intervals” as an array was added in Druid 0.9.0, so try imply-1.2.0 or newer (see http://imply.io/docs/1.2.0/release).

Or if you want to stick with your current version, that should be formatted as a single interval like “interval” : “2016-01-05T09:15:00Z/2016-01-05T09:30:00Z”.

Actually you could just skip to the latest, imply-1.2.1. It also uses Druid 0.9.0 but the bundled Tranquility, Pivot, and PlyQL are all newer (http://imply.io/docs/1.2.1/release).