HyperLogLogCollector Exceptions on druid 0.10.0 in in overlord task

Hi Experts,

I am using druid 0.10.0 for local indexing service. I am getting an exception for HyperLogLog.

Task:

{

“type”: “index”,

“spec”: {

“dataSchema”: {

“dataSource”: “event_analytics”,

“parser”: {

“type”: “string”,

“parseSpec”: {

“format”: “json”,

“timestampSpec”: {

“column”: “reqdate”,

“format”: “yyyy-MM-dd HH:mm:ss”

},

“dimensionsSpec”: {

“dimensions”: ,

“dimensionExclusions”: ,

“spatialDimensions”: [{

“dimName”: “coordinates”,

“dims”: [“lat”, “lon”]

}]

}

}

},

“metricsSpec”: [{

“type”: “count”,

“name”: “numz”

},

{

“type”: “hyperUnique”,

“name”: “unique_user”,

“fieldName”: “uid”,

“isInputHyperUnique”: true

}

],

“granularitySpec”: {

“type”: “uniform”,

“segmentGranularity”: “HOUR”,

“queryGranularity”: “HOUR”,

“intervals”: [“2017-06-13T08:00:00.000Z/2017-06-13T09:00:00.000Z”]

}

},

“ioConfig”: {

“type”: “index”,

“firehose”: {

“type”: “local”,

“filter”: “EventData.json.2017-06-13-08”,

“baseDir”: “/EventScripts/2017-06-13-08”

}

},

“tuningConfig”: {

“type”: “index”,

“maxRowsInMemory”: 1000000,

“numShards”: 1,

“buildV9Directly”: false

}

}

}

Exception:

Caused by: java.lang.NegativeArraySizeException

at io.druid.hll.HyperLogLogCollector.toByteBuffer(HyperLogLogCollector.java:464) ~[druid-hll-0.10.0.jar:0.10.0]

at io.druid.query.aggregation.hyperloglog.HyperUniquesSerde$3.toBytes(HyperUniquesSerde.java:134) ~[druid-processing-0.10.0.jar:0.10.0]

at io.druid.query.aggregation.hyperloglog.HyperUniquesSerde$3.toBytes(HyperUniquesSerde.java:113) ~[druid-processing-0.10.0.jar:0.10.0]

at io.druid.segment.data.GenericIndexedWriter.write(GenericIndexedWriter.java:151) ~[druid-processing-0.10.0.jar:0.10.0]

at io.druid.segment.serde.ComplexMetricColumnSerializer.serialize(ComplexMetricColumnSerializer.java:70) ~[druid-processing-0.10.0.jar:0.10.0]

at io.druid.segment.IndexMerger.makeIndexFiles(IndexMerger.java:767) ~[druid-processing-0.10.0.jar:0.10.0]

at io.druid.segment.IndexMerger.merge(IndexMerger.java:437) ~[druid-processing-0.10.0.jar:0.10.0]

at io.druid.segment.IndexMerger.persist(IndexMerger.java:185) ~[druid-processing-0.10.0.jar:0.10.0]

at io.druid.segment.IndexMerger.persist(IndexMerger.java:151) ~[druid-processing-0.10.0.jar:0.10.0]

at io.druid.segment.realtime.appenderator.AppenderatorImpl.persistHydrant(AppenderatorImpl.java:1001) ~[druid-server-0.10.0.jar:0.10.0]

at io.druid.segment.realtime.appenderator.AppenderatorImpl.access$200(AppenderatorImpl.java:95) ~[druid-server-0.10.0.jar:0.10.0]

at io.druid.segment.realtime.appenderator.AppenderatorImpl$2.doCall(AppenderatorImpl.java:389) ~[druid-server-0.10.0.jar:0.10.0]

at io.druid.common.guava.ThreadRenamingCallable.call(ThreadRenamingCallable.java:44) ~[druid-common-0.10.0.jar:0.10.0]

… 4 more

same task is working on druid 0.9.1.1 ?

Am I doing wrong something?

Thanks,

Jitesh