guptha308 commented on issue #9820:
URL: https://github.com/apache/druid/issues/9820#issuecomment-787893874


   Using .20.1. Facing issue while using index_parallel tasks. 
   Any workaround for this. 
   
   
   
   {
     "type": "index_parallel",
     "spec": {
       "dataSchema": {
         "dataSource": "aws",
         "timestampSpec": {
           "column": "epoch_time",
           "format": "iso",
           "missingValue": null
         },
         "dimensionsSpec": {
           "dimensions": [
            "events"
             {
               "type": "string",
               "name": "event_name",
               "multiValueHandling": "SORTED_ARRAY",
               "createBitmapIndex": true
             },
             {
               "type": "string",
               "name": "event_section",
               "multiValueHandling": "SORTED_ARRAY",
               "createBitmapIndex": true
             }
           ]
         },
         "metricsSpec": [
           {
             "type": "count",
             "name": "count"
           }
           ]
         }
       },
       "ioConfig": {
         "type": "index_parallel",
         "inputSource": {
           "type": "s3",
           "prefixes" : [
             "s3://andromeda"
           ]
         },
         "inputFormat": {
           "type": "orc",
           "flattenSpec": {
             "useFieldDiscovery": true,
             "fields": []
           }
         },
         "appendToExisting": true
       },
       "tuningConfig": {
         "type": "index_parallel",
         "maxRowsPerSegment": 5000000,
         "maxRowsInMemory": 1000000,
         "maxBytesInMemory": 0,
         "maxTotalRows": null,
         "numShards": null,
         "splitHintSpec": null,
         "partitionsSpec": {
           "type": "dynamic",
           "maxRowsPerSegment": 5000000,
           "maxTotalRows": null
         },
         "indexSpec": {
           "bitmap": {
             "type": "roaring",
             "compressRunOnSerialization": true
           },
           "dimensionCompression": "lz4",
           "metricCompression": "lz4",
           "longEncoding": "longs",
           "segmentLoader": null
         },
         "indexSpecForIntermediatePersists": {
           "bitmap": {
             "type": "roaring",
             "compressRunOnSerialization": true
           },
           "dimensionCompression": "lz4",
           "metricCompression": "lz4",
           "longEncoding": "longs",
           "segmentLoader": null
         },
         "maxPendingPersists": 0,
         "forceGuaranteedRollup": false,
         "reportParseExceptions": false,
         "pushTimeout": 0,
         "segmentWriteOutMediumFactory": null,
         "maxNumConcurrentSubTasks": 5,
         "maxRetry": 3,
         "taskStatusCheckPeriodMs": 1000,
         "chatHandlerTimeout": "PT10S",
         "chatHandlerNumRetries": 5,
         "maxNumSegmentsToMerge": 100,
         "totalNumMergeTasks": 10,
         "logParseExceptions": false,
         "maxParseExceptions": 2147483647,
         "maxSavedParseExceptions": 0,
         "buildV9Directly": true,
         "partitionDimensions": []
       }
     }
   }
   


----------------------------------------------------------------
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:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to