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 2021/03/09 08:14:10 UTC

[GitHub] [druid] Gabriel39 opened a new issue #10966: query timeout

Gabriel39 opened a new issue #10966:
URL: https://github.com/apache/druid/issues/10966


   Please provide a detailed title (e.g. "Broker crashes when using TopN query with Bound filter" instead of just "Broker crashes").
   
   ### Affected Version
   
   0.14.2-incubating
   
   ### Description
   
   When I run a query on a Druid cluster with version 0.14.2-incubating, I meet a timeout error.
   
   query,json is below:
   `{
     "queryType": "groupBy",
     "dataSource": "dataSource",
     "dimensions": [
       "dim0",
       "dim1"
     ],
     "aggregations": [
       {
         "type": "count",
         "name": "count"
       },
       {
         "type": "longSum",
         "name": "sum",
         "fieldName": "filed0"
       }
     ],
     "granularity": "all",
     "postAggregations": [],
     "intervals": "2021-01-02T00:00:00+00:00/2021-03-09T00:00:00+00:00",
     "limitSpec": {
       "type": "default",
       "limit": 10000,
       "columns": [
         {
           "dimension": "count",
           "direction": "descending"
         }
       ]
     }
   }`
   
   the datasource conf is:
   `{
     "type": "kafka",
     "dataSchema": {
       "dataSource": "datasource",
       "parser": {
         "type": "string",
         "parseSpec": {
           "format": "tsv",
           "timestampSpec": {
             "column": "times",
             "format": "auto"
           },
           "columns" : [ ......],
           "delimiter":"\u0001",
           "listDelimiter":"\u0002",
           "dimensionsSpec": {
             "dimensions": [
               "dim0",
               "dim1",
               ...
             ]
           }
         }
       },
       "metricsSpec": [
         {
           "name": "filed0",
           "type": "count"
         },
         ...
       ],
       "granularitySpec": {
         "type": "uniform",
         "segmentGranularity": "HOUR",
         "queryGranularity": "HOUR"
       }
     },
     "tuningConfig": {
       "type": "kafka",
       "maxRowsPerSegment": 1000000
     },
     "ioConfig": {
       "topic": "...",
       "consumerProperties": {
         "bootstrap.servers": "",
         "group.id": "kafka-indexing-service"
       },
       "taskCount": 1,
       "replicas": 1,
       "taskDuration": "PT1H",
       "completionTimeout":"PT7200S"
     }
   }`
   
   I wonder if any methods to optimize querying process?
   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.

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] Gabriel39 closed issue #10966: query timeout

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


   


-- 
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.

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