Are tranquility-distribution-0.7.4 compitiable with druid 0.9.0 in extension mechanism?

i try to use thetaSketch in tranquility for data ingestion.
put extension properties everywhere i can imagine,like in tranquility script:

addJava ‘-Ddruid.extensions.loadList=[“druid-datasketches”]’

addJava “”

command line,and server.json

it does not work, always throw exception:

java.lang.IllegalArgumentException: Could not resolve type id ‘thetaSketch’ into a subtype of [simple type, class io.druid.query.aggregation.AggregatorFactory]

at [Source: N/A; line: -1, column: -1] (through reference chain: Object[1])

at com.fasterxml.jackson.databind.ObjectMapper._convert(

at com.fasterxml.jackson.databind.ObjectMapper.convertValue(

when i modified classpath to include jars of druid-datasketches in tranquility script,it throws exceptions as follow:

java.lang.IncompatibleClassChangeError: class io.druid.query.aggregation.datasketches.theta.SketchAggregatorFactory has interface io.druid.query.aggregation.AggregatorFactory as super class

at java.lang.ClassLoader.defineClass1(Native Method)

at java.lang.ClassLoader.defineClass(

Tranquility 0.7.4 is built against Druid 0.8.2 so it needs to use Druid 0.8.2 extensions.

Tranquility 0.8.0 (upcoming, should be released this week) will be built against Druid 0.9.0 and can use Druid 0.9.0 extensions.

thanks. I have build a snapshot version, and it works.

在 2016年5月9日星期一 UTC+8下午12:27:25,Gian Merlino写道:

Just as an update, Tranquility 0.8.0 was just released to fully work with Druid 0.9.x.