java.lang.IllegalArgumentException for io.druid.data.input.orc.OrcHadoopInputRowParser

I am not able to run the Orc Index task, I am stucj with the following exception. Please let me know if I am missing anything

Caused by: java.lang.IllegalArgumentException: Instantiation of [simple type, class io.druid.data.input.orc.OrcHadoopInputRowParser] value failed: io.druid.java.util.common.StringUtils.format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
	at com.fasterxml.jackson.databind.ObjectMapper._convert(ObjectMapper.java:2774) ~[jackson-databind-2.4.6.jar:2.4.6]
	at com.fasterxml.jackson.databind.ObjectMapper.convertValue(ObjectMapper.java:2700) ~[jackson-databind-2.4.6.jar:2.4.6]
	at io.druid.segment.indexing.DataSchema.getParser(DataSchema.java:111) ~[druid-server-0.10.0.jar:0.10.0]
	at io.druid.indexer.HadoopDruidIndexerConfig.verify(HadoopDruidIndexerConfig.java:587) ~[druid-indexing-hadoop-0.10.0.jar:0.10.0]
	at io.druid.indexer.HadoopDruidIndexerJob.<init>(HadoopDruidIndexerJob.java:47) ~[druid-indexing-hadoop-0.10.0.jar:0.10.0]
	at io.druid.indexing.common.task.HadoopIndexTask$HadoopIndexGeneratorInnerProcessing.runTask(HadoopIndexTask.java:273) ~[druid-indexing-service-0.10.0.jar:0.10.0]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_51]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_51]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_51]
	at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_51]
	at io.druid.indexing.common.task.HadoopTask.invokeForeignLoader(HadoopTask.java:208) ~[druid-indexing-service-0.10.0.jar:0.10.0]
	... 7 more


My spec is similar to the following sample.

{
“type”: “index_hadoop”,
“spec”: {
“ioConfig”: {
“type”: “hadoop”,
“inputSpec”: {
“type”: “static”,
“inputFormat”: “org.apache.hadoop.hive.ql.io.orc.OrcNewInputFormat”,
“paths”: “/data/path/in/HDFS/”
}
},
“dataSchema”: {
“dataSource”: “no_metrics”,
“parser”: {
“type”: “orc”,
“parseSpec”: {
“format”: “timeAndDims”,
“timestampSpec”: {
“column”: “time”,
“format”: “auto”
},
“dimensionsSpec”: {
“dimensions”: [
“dim1”,“dim2”,“dim3”
],
“dimensionExclusions”: ,
“spatialDimensions”:
}
}
},
“metricsSpec”: [{
“type”: “count”,
“name”: “count”
}],
“granularitySpec”: {
“type”: “uniform”,
“segmentGranularity”: “DAY”,
“queryGranularity”: “ALL”,
“intervals”: [“2015-12-31/2016-01-02”]
}
},
“tuningConfig”: {
“type”: “hadoop”,
“workingPath”: “tmp/working_path”,
“partitionsSpec”: {
“targetPartitionSize”: 5000000
},
“jobProperties” : {},

}
}
}

Orc Extension for Druid 0.10 doesn’t seem to be calling “StringUtils.format” method, may you are using more recent version of extension than 0.10. Make sure the versions match.

By Druid 0.10 I mean Druid 0.10.0