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 "-Ddruid.extensions.directory=/home/lihui/druid-0.9.0/extensions"
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(ObjectMapper.java:2774)
at com.fasterxml.jackson.databind.ObjectMapper.convertValue(ObjectMapper.java:2700)
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(ClassLoader.java:760)