topN io.druid.query.QueryInterruptedException: Could not resolve type id 'FinalizingFieldAccessPostA

io.druid.query.QueryInterruptedException: Could not resolve type id ‘FinalizingFieldAccessPostAggregator$1’ into a subtype of [simple type, class io.druid.query.aggregation.PostAggregator]: known type ids = [PostAggregator, arithmetic, buckets, constant, customBuckets, doubleGreatest, doubleLeast, equalBuckets, expression, fieldAccess, finalizingFieldAccess, hyperUniqueCardinality, javascript, longGreatest, longLeast, max, min, quantile, quantiles, sketchEstimate, sketchSetOper, thetaSketchEstimate, thetaSketchSetOp]

at [Source: HttpInputOverHTTP@35bca08c[c=1560,q=1,[0]=EOF,s=STREAM]; line: -1, column: 1330] (through reference chain: io.druid.query.topn.TopNQuery[“postAggregations”]->java.util.ArrayList[0]->io.druid.query.aggregation.post.ArithmeticPostAggregator[“fields”]->java.util.ArrayList[1])

at io.druid.client.DirectDruidClient$JsonParserIterator.init(DirectDruidClient.java:617) ~[druid-server-0.10.1.jar:0.10.1]

at io.druid.client.DirectDruidClient$JsonParserIterator.hasNext(DirectDruidClient.java:563) ~[druid-server-0.10.1.jar:0.10.1]

at io.druid.java.util.common.guava.BaseSequence.accumulate(BaseSequence.java:45) ~[java-util-0.10.1.jar:0.10.1]

at io.druid.java.util.common.guava.MappedSequence.accumulate(MappedSequence.java:43) ~[java-util-0.10.1.jar:0.10.1]

at io.druid.java.util.common.guava.MergeSequence.toYielder(MergeSequence.java:63) ~[java-util-0.10.1.jar:0.10.1]

at io.druid.java.util.common.guava.MergeSequence$2.accumulate(MergeSequence.java:70) ~[java-util-0.10.1.jar:0.10.1]

at io.druid.java.util.common.guava.MergeSequence$2.accumulate(MergeSequence.java:66) ~[java-util-0.10.1.jar:0.10.1]

at io.druid.java.util.common.guava.BaseSequence.accumulate(BaseSequence.java:46) ~[java-util-0.10.1.jar:0.10.1]

at io.druid.java.util.common.guava.MergeSequence.toYielder(MergeSequence.java:63) ~[java-util-0.10.1.jar:0.10.1]

at io.druid.java.util.common.guava.LazySequence.toYielder(LazySequence.java:46) ~[java-util-0.10.1.jar:0.10.1]

at io.druid.query.RetryQueryRunner$1.toYielder(RetryQueryRunner.java:108) ~[druid-processing-0.10.1.jar:0.10.1]

at io.druid.common.guava.CombiningSequence.toYielder(CombiningSequence.java:80) ~[druid-common-0.10.1.jar:0.10.1]

at io.druid.java.util.common.guava.MappedSequence.toYielder(MappedSequence.java:49) ~[java-util-0.10.1.jar:0.10.1]

at io.druid.java.util.common.guava.MappedSequence.toYielder(MappedSequence.java:49) ~[java-util-0.10.1.jar:0.10.1]

at io.druid.java.util.common.guava.WrappingSequence$2.get(WrappingSequence.java:87) ~[java-util-0.10.1.jar:0.10.1]

at io.druid.java.util.common.guava.WrappingSequence$2.get(WrappingSequence.java:83) ~[java-util-0.10.1.jar:0.10.1]

at io.druid.query.CPUTimeMetricQueryRunner$1.wrap(CPUTimeMetricQueryRunner.java:74) ~[druid-processing-0.10.1.jar:0.10.1]

at io.druid.java.util.common.guava.WrappingSequence.toYielder(WrappingSequence.java:82) ~[java-util-0.10.1.jar:0.10.1]

at io.druid.java.util.common.guava.Yielders.each(Yielders.java:32) ~[java-util-0.10.1.jar:0.10.1]

at io.druid.server.QueryResource.doPost(QueryResource.java:259) [druid-server-0.10.1.jar:0.10.1]

at sun.reflect.GeneratedMethodAccessor39.invoke(Unknown Source) ~[?:?]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_131]

at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_131]

at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60) [jersey-server-1.19.3.jar:1.19.3]

at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205) [jersey-server-1.19.3.jar:1.19.3]

at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75) [jersey-server-1.19.3.jar:1.19.3]

at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302) [jersey-server-1.19.3.jar:1.19.3]

at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108) [jersey-server-1.19.3.jar:1.19.3]

at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) [jersey-server-1.19.3.jar:1.19.3]

at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84) [jersey-server-1.19.3.jar:1.19.3]

at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1542) [jersey-server-1.19.3.jar:1.19.3]

at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1473) [jersey-server-1.19.3.jar:1.19.3]

at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1419) [jersey-server-1.19.3.jar:1.19.3]

at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1409) [jersey-server-1.19.3.jar:1.19.3]

at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:409) [jersey-servlet-1.19.3.jar:1.19.3]

at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:558) [jersey-servlet-1.19.3.jar:1.19.3]

at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:733) [jersey-servlet-1.19.3.jar:1.19.3]

at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) [javax.servlet-api-3.1.0.jar:3.1.0]

at com.google.inject.servlet.ServletDefinition.doServiceImpl(ServletDefinition.java:286) [guice-servlet-4.1.0.jar:?]

at com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:276) [guice-servlet-4.1.0.jar:?]

at com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:181) [guice-servlet-4.1.0.jar:?]

at com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:91) [guice-servlet-4.1.0.jar:?]

at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:85) [guice-servlet-4.1.0.jar:?]

at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:120) [guice-servlet-4.1.0.jar:?]

at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:135) [guice-servlet-4.1.0.jar:?]

at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759) [jetty-servlet-9.3.19.v20170502.jar:9.3.19.v20170502]

at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:582) [jetty-servlet-9.3.19.v20170502.jar:9.3.19.v20170502]

at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:224) [jetty-server-9.3.19.v20170502.jar:9.3.19.v20170502]

at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180) [jetty-server-9.3.19.v20170502.jar:9.3.19.v20170502]

at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:512) [jetty-servlet-9.3.19.v20170502.jar:9.3.19.v20170502]

at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) [jetty-server-9.3.19.v20170502.jar:9.3.19.v20170502]

at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112) [jetty-server-9.3.19.v20170502.jar:9.3.19.v20170502]

at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) [jetty-server-9.3.19.v20170502.jar:9.3.19.v20170502]

at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:493) [jetty-server-9.3.19.v20170502.jar:9.3.19.v20170502]

at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52) [jetty-server-9.3.19.v20170502.jar:9.3.19.v20170502]

at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134) [jetty-server-9.3.19.v20170502.jar:9.3.19.v20170502]

at org.eclipse.jetty.server.Server.handle(Server.java:534) [jetty-server-9.3.19.v20170502.jar:9.3.19.v20170502]

at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:320) [jetty-server-9.3.19.v20170502.jar:9.3.19.v20170502]

at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251) [jetty-server-9.3.19.v20170502.jar:9.3.19.v20170502]

at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:283) [jetty-io-9.3.19.v20170502.jar:9.3.19.v20170502]

at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:108) [jetty-io-9.3.19.v20170502.jar:9.3.19.v20170502]

at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93) [jetty-io-9.3.19.v20170502.jar:9.3.19.v20170502]

at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303) [jetty-util-9.3.19.v20170502.jar:9.3.19.v20170502]

at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148) [jetty-util-9.3.19.v20170502.jar:9.3.19.v20170502]

at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136) [jetty-util-9.3.19.v20170502.jar:9.3.19.v20170502]

at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671) [jetty-util-9.3.19.v20170502.jar:9.3.19.v20170502]

at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589) [jetty-util-9.3.19.v20170502.jar:9.3.19.v20170502]

at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]

Caused by: io.druid.query.QueryInterruptedException: Could not resolve type id ‘FinalizingFieldAccessPostAggregator$1’ into a subtype of [simple type, class io.druid.query.aggregation.PostAggregator]: known type ids = [PostAggregator, arithmetic, buckets, constant, customBuckets, doubleGreatest, doubleLeast, equalBuckets, expression, fieldAccess, finalizingFieldAccess, hyperUniqueCardinality, javascript, longGreatest, longLeast, max, min, quantile, quantiles, sketchEstimate, sketchSetOper, thetaSketchEstimate, thetaSketchSetOp]

at [Source: HttpInputOverHTTP@35bca08c[c=1560,q=1,[0]=EOF,s=STREAM]; line: -1, column: 1330] (through reference chain: io.druid.query.topn.TopNQuery[“postAggregations”]->java.util.ArrayList[0]->io.druid.query.aggregation.post.ArithmeticPostAggregator[“fields”]->java.util.ArrayList[1])

at sun.reflect.GeneratedConstructorAccessor93.newInstance(Unknown Source) ~[?:?]

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_131]

at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_131]

at com.fasterxml.jackson.databind.introspect.AnnotatedConstructor.call(AnnotatedConstructor.java:125) ~[jackson-databind-2.4.6.jar:2.4.6]

at com.fasterxml.jackson.databind.deser.std.StdValueInstantiator.createFromObjectWith(StdValueInstantiator.java:230) ~[jackson-databind-2.4.6.jar:2.4.6]

at com.fasterxml.jackson.databind.deser.impl.PropertyBasedCreator.build(PropertyBasedCreator.java:167) ~[jackson-databind-2.4.6.jar:2.4.6]

at com.fasterxml.jackson.databind.deser.BeanDeserializer._deserializeUsingPropertyBased(BeanDeserializer.java:349) ~[jackson-databind-2.4.6.jar:2.4.6]

at com.fasterxml.jackson.databind.deser.std.ThrowableDeserializer.deserializeFromObject(ThrowableDeserializer.java:66) ~[jackson-databind-2.4.6.jar:2.4.6]

at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:124) ~[jackson-databind-2.4.6.jar:2.4.6]

at com.fasterxml.jackson.databind.ObjectMapper._readValue(ObjectMapper.java:3038) ~[jackson-databind-2.4.6.jar:2.4.6]

at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:1652) ~[jackson-databind-2.4.6.jar:2.4.6]

at io.druid.client.DirectDruidClient$JsonParserIterator.init(DirectDruidClient.java:616) ~[druid-server-0.10.1.jar:0.10.1]

… 67 more在此输入代码…

``

query json

{

“queryType”: “topN”,

“dataSource”: “News_cube_1”,

“intervals”: “2017-12-06T00Z/2017-12-07T00Z”,

“granularity”: “all”,

“context”: {

“timeout”: 40000

},

“dimension”: {

“type”: “default”,

“dimension”: “channelid”,

“outputName”: “channelid”

},

“aggregations”: [{

“name”: “m033”,

“type”: “doubleSum”,

“fieldName”: “content_distribute_m”

}, {

“type”: “filtered”,

“name”: “T_0”,

“filter”: {

“type”: “and”,

“fields”: [{

“type”: “not”,

“field”: {

“type”: “selector”,

“dimension”: “contentsource”,

“value”: “push”

}

}, {

“type”: “not”,

“field”: {

“type”: “selector”,

“dimension”: “contentsource”,

“value”: “inAppPush”

}

}

]

},

“aggregator”: {

“name”: “T_0”,

“type”: “doubleSum”,

“fieldName”: “content_enter_m”

}

}, {

“type”: “filtered”,

“name”: “T_1”,

“filter”: {

“type”: “and”,

“fields”: [{

“type”: “not”,

“field”: {

“type”: “selector”,

“dimension”: “contentsource”,

“value”: “push”

}

}, {

“type”: “not”,

“field”: {

“type”: “selector”,

“dimension”: “contentsource”,

“value”: “inAppPush”

}

}, {

“type”: “bound”,

“dimension”: “content_enter”,

“extractionFn”: {

“type”: “javascript”,

“function”: “function(d){var ,2;=+(d);return isNaN()?null:_}”

},

“alphaNumeric”: true,

“lower”: 0,

“lowerStrict”: true

}

]

},

“aggregator”: {

“name”: “T_1”,

“type”: “thetaSketch”,

“fieldName”: “deviceid”

}

}

],

“postAggregations”: [{

“type”: “arithmetic”,

“fn”: “/”,

“fields”: [{

“type”: “fieldAccess”,

“fieldName”: “T_0”

}, {

“type”: “finalizingFieldAccess”,

“fieldName”: “T_1”

}

],

“name”: “m006”

}

],

“metric”: “m033”,

“threshold”: 100

}

``

pls, help me.