clintropolis commented on issue #8580:
URL: https://github.com/apache/druid/issues/8580#issuecomment-1212537880
this still happens when using `remote` for the `druid.indexer.runner.type`,
apologies that stalebot closed this issue. I also ran into another issue when
performing the same steps with similar outcome (though slightly worse since it
breaks the task listing API as well).
```
2022-08-09T23:08:21,703 WARN [qtp2066066225-85]
org.eclipse.jetty.server.HttpChannel - /druid/indexer/v1/tasks
java.lang.IllegalStateException: Duplicate key
TaskRunnerWorkItem{taskId='index_kafka_wikipedia_stream_603bb609024a3d4_gnhkkopj',
result=com.google.common.util.concurrent.SettableFuture@575af1d6,
createdTime=2022-08-09T23:07:11.510Z,
queueInsertionTime=2022-08-09T23:07:11.510Z, location=TaskLocation{host='null',
port=-1, tlsPort=-1}}
at
java.util.stream.Collectors.lambda$throwingMerger$0(Collectors.java:133)
~[?:1.8.0_332]
at java.util.HashMap.merge(HashMap.java:1255) ~[?:1.8.0_332]
at java.util.stream.Collectors.lambda$toMap$58(Collectors.java:1320)
~[?:1.8.0_332]
at java.util.stream.ReduceOps$3ReducingSink.accept(ReduceOps.java:169)
~[?:1.8.0_332]
at java.util.Iterator.forEachRemaining(Iterator.java:116) ~[?:1.8.0_332]
at
java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
~[?:1.8.0_332]
at
java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482)
~[?:1.8.0_332]
at
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
~[?:1.8.0_332]
at
java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
~[?:1.8.0_332]
at
java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
~[?:1.8.0_332]
at
java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:566)
~[?:1.8.0_332]
at
org.apache.druid.indexing.overlord.http.OverlordResource.getTaskRunnerWorkItems(OverlordResource.java:880)
~[classes/:?]
at
org.apache.druid.indexing.overlord.http.OverlordResource.getTaskStatusPlusList(OverlordResource.java:739)
~[classes/:?]
```
Restarting the overlord seems to fix either issue. I have been unable to
reproduce it using `httpRemote` for `druid.indexer.runner.type`, so that is a
possible workaround.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]