cloventt edited a comment on issue #9820:
URL: https://github.com/apache/druid/issues/9820#issuecomment-687969450


   We see this same issue using `index` tasks that are appending to an existing 
interval, on indexers with Druid 0.18.1.
   
   ```java
   2020-09-07 01:16:43,897 ERROR 
[[index_ssp-hour_jjejaoee_2020-09-07T01:16:43.738Z]-threading-task-runner-executor-4]
 logger.Logger (Logger.java:226) - Encountered exception in BUILD_SEGMENTS.
   java.lang.NullPointerException: taskLockHelper is not initialized yet
        at 
com.google.common.base.Preconditions.checkNotNull(Preconditions.java:229) 
~[guava-16.0.1.jar:?]
        at 
org.apache.druid.indexing.common.task.AbstractBatchIndexTask.getTaskLockHelper(AbstractBatchIndexTask.java:184)
 ~[druid-indexing-service-0.18.1.jar:0.18.1]
        at 
org.apache.druid.indexing.common.task.IndexTask.generateAndPublishSegments(IndexTask.java:905)
 ~[druid-indexing-service-0.18.1.jar:0.18.1]
        at 
org.apache.druid.indexing.common.task.IndexTask.runTask(IndexTask.java:526) 
[druid-indexing-service-0.18.1.jar:0.18.1]
        at 
org.apache.druid.indexing.common.task.AbstractBatchIndexTask.run(AbstractBatchIndexTask.java:123)
 [druid-indexing-service-0.18.1.jar:0.18.1]
        at 
org.apache.druid.indexing.overlord.ThreadingTaskRunner$1.call(ThreadingTaskRunner.java:209)
 [druid-indexing-service-0.18.1.jar:0.18.1]
        at 
org.apache.druid.indexing.overlord.ThreadingTaskRunner$1.call(ThreadingTaskRunner.java:149)
 [druid-indexing-service-0.18.1.jar:0.18.1]
        at java.util.concurrent.FutureTask.run(FutureTask.java:266) 
[?:1.8.0_265]
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) 
[?:1.8.0_265]
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) 
[?:1.8.0_265]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_265]
   ```
   
   Our ingestion spec:
   ```json
   {
     "type": "index",
     "spec": {
       "dataSchema": {
         "dataSource": "datasource",
         "parser": {
           "type": "string",
           "parseSpec": {
             "format": "json",
             "timestampSpec": {
               "column": "timestamp",
               "format": "iso"
             },
             "dimensionsSpec": {
               "dimensions": ["redacted" ]
             }
           }
         },
         "metricsSpec": ["redacted"],
         "granularitySpec": {
           "type": "uniform",
           "segmentGranularity": "hour",
           "queryGranularity": "hour",
           "rollup": true,
           "intervals": [
             "2020-09-07T00:00Z/2020-09-07T01:00Z"
           ]
         }
       },
       "tuningConfig": {
         "type": "index",
         "maxRowsPerSegment": 5000000,
         "maxRowsInMemory": 100000
       },
       "ioConfig": {
         "type": "index",
         "appendToExisting": true,
         "firehose": {
           "type": "static-s3",
           "fetchTimeout": 180000,
           "maxFetchRetry": 5,
           "prefixes": [
             "s3://path-to-files"
           ]
         }
       }
     },
     "context": {
       "forceTimeChunkLock": false
     }
   }
   ```


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