You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2022/03/28 21:16:11 UTC

[GitHub] [druid] AbdelouahabKhelifati opened a new issue #12372: Could not resolve type id 'variance' as a subtype of `org.apache.druid.query.aggregation.AggregatorFactory`

AbdelouahabKhelifati opened a new issue #12372:
URL: https://github.com/apache/druid/issues/12372


   Please provide a detailed title (e.g. "Broker crashes when using TopN query with Bound filter" instead of just "Broker crashes").
   
   ### Affected Version
   
   Druid 0.22.0 
   
   ### Description
   
   I am running Druid with the following conf: 
   
   ```
   druid.service=druid/broker
   druid.plaintextPort=8082
   
   # HTTP server settings
   druid.server.http.numThreads=60
   druid.server.http.maxSubqueryRows = 100000000
   # HTTP client settings
   druid.broker.http.numConnections=50
   druid.broker.http.maxQueuedBytes=10MiB
   
   # Processing threads and buffers
   druid.processing.buffer.sizeBytes=500MiB
   druid.processing.numMergeBuffers=16
   druid.processing.numThreads=1
   druid.processing.tmpDir=var/druid/processing
   
   # Query cache disabled -- push down caching and merging instead
   druid.broker.cache.useCache=false
   druid.broker.cache.populateCache=false
   
   druid.extensions.loadList=["druid-stats"]  
   ```
   
   Then, I try to run a simple Standard Deviation query as follows: 
   
   ```
   select STDDEV("value")
   from mytable
   ```
   
   However, I keep having the following error: 
   
   ```
   Error: Unknown exception
   
   Could not resolve type id 'variance' as a subtype of `org.apache.druid.query.aggregation.AggregatorFactory`: known type ids = [HLLSketchBuild, HLLSketchMerge, arrayOfDoublesSketch, cardinality, count, doubleAny, doubleFirst, doubleLast, doubleMax, doubleMean, doubleMin, doubleSum, expression, filtered, floatAny, floatFirst, floatLast, floatMax, floatMin, floatSum, grouping, histogram, hyperUnique, javascript, longAny, longFirst, longLast, longMax, longMin, longSum, quantilesDoublesSketch, quantilesDoublesSketchMerge, sketchBuild, sketchMerge, stringAny, stringFirst, stringFirstFold, stringLast, stringLastFold, thetaSketch] (for POJO property 'aggregations') at [Source: (org.eclipse.jetty.server.HttpInputOverHTTP); line: -1, column: 1242] (through reference chain: org.apache.druid.query.timeseries.TimeseriesQuery["aggregations"]->java.util.ArrayList[0])
   
   com.fasterxml.jackson.databind.exc.InvalidTypeIdException
   ```
   
   I am using Druid version 0.22.0. 
   
   How could this be solved? 
   
   Thanks!
   
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org


[GitHub] [druid] AbdelouahabKhelifati commented on issue #12372: Could not resolve type id 'variance' as a subtype of `org.apache.druid.query.aggregation.AggregatorFactory`

Posted by GitBox <gi...@apache.org>.
AbdelouahabKhelifati commented on issue #12372:
URL: https://github.com/apache/druid/issues/12372#issuecomment-1081623268


   That was the issue indeed, thanks! 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org


[GitHub] [druid] FrankChen021 commented on issue #12372: Could not resolve type id 'variance' as a subtype of `org.apache.druid.query.aggregation.AggregatorFactory`

Posted by GitBox <gi...@apache.org>.
FrankChen021 commented on issue #12372:
URL: https://github.com/apache/druid/issues/12372#issuecomment-1081338120


   Is `druid-stats` loaded on historical ?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org


[GitHub] [druid] AbdelouahabKhelifati closed issue #12372: Could not resolve type id 'variance' as a subtype of `org.apache.druid.query.aggregation.AggregatorFactory`

Posted by GitBox <gi...@apache.org>.
AbdelouahabKhelifati closed issue #12372:
URL: https://github.com/apache/druid/issues/12372


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org