NullPointer on Indexing Jobs

Hello there!

I am trying to run a simple indexing job through the indexing service but I am getting a null pointer.

2016-02-12T00:25:45,356 INFO [task-runner-0] io.druid.indexing.common.actions.RemoteTaskActionClient - Submitting action for task[index_api_created_trips_02_2016-02-12T00:25:40.339Z] to overlord[http://localhost:8090/druid/indexer/v1/action]: LockListAction{}
2016-02-12T00:25:45,388 ERROR [task-runner-0] io.druid.indexing.overlord.ThreadPoolTaskRunner - Exception while running task[IndexTask{id=index_api_created_trips_02_2016-02-12T00:25:40.339Z, type=index, dataSource=api_created_trips_02}]
java.lang.NullPointerException
        at io.druid.indexing.common.task.IndexTask.getDataIntervals(IndexTask.java:234) ~[druid-indexing-service-0.8.3.jar:0.8.3]
        at io.druid.indexing.common.task.IndexTask.run(IndexTask.java:192) ~[druid-indexing-service-0.8.3.jar:0.8.3]
        at io.druid.indexing.overlord.ThreadPoolTaskRunner$ThreadPoolTaskRunnerCallable.call(ThreadPoolTaskRunner.java:285) [druid-indexing-service-0.8.3.jar:0.8.3]
        at io.druid.indexing.overlord.ThreadPoolTaskRunner$ThreadPoolTaskRunnerCallable.call(ThreadPoolTaskRunner.java:265) [druid-indexing-service-0.8.3.jar:0.8.3]
        at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_51]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_51]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_51]
        at java.lang.Thread.run(Thread.java:745) [?:1.8.0_51]
2016-02-12T00:25:45,396 INFO [task-runner-0] io.druid.indexing.worker.executor.ExecutorLifecycle - Task completed with status: {
  "id" : "index_api_created_trips_02_2016-02-12T00:25:40.339Z",
  "status" : "FAILED",
  "duration" : 39
}

``

Any ideas? Here is my task json…

{

“type” : “index”,

“spec” : {

“dataSchema” : {

“dataSource” : “api_created_trips_02”,

“parser” : {

“type” : “string”,

“parseSpec” : {

“format” : “json”,

“timestampSpec” : {

“column” : “SecondsSinceEpoch”,

“format” : “posix”

},

“dimensionsSpec”: {

“dimensions”: [

“uuid”,

“country_id”,

“city_id”,

“request_at”,

“status”

],

“dimensionExclusions”: ,

“spatialDimensions”:

}

}

},

“metricsSpec”: [

{

“type”: “doubleSum”,

“name”: “duration”,

“fieldName”: “duration”

}

],

“granularitySpec”: {

“intervals” : [“2015-12-05/2015-12-06”]

}

},

“ioConfig” : {

“type” : “index”,

“firehouse”: {

“type”: “local”,

“baseDir”: “examples/”,

“filter”: “part-r-00000-5a48e79f-ac68-42dc-aead-c33b8b52279d.json”

}

},

“tuningConfig”: {

“type”: “index”

}

}

}

``

Hey bwhite, “firehouse” should be spelled “firehose”.

You may also want to consider the much improved getting started process for Druid 0.9.0:

http://druid.io/docs/0.9.0-rc1/tutorials/quickstart.html

based off of

http://imply.io/docs/latest/quickstart