Slackbot
10/04/2022, 12:24 AMkfaraz
10/04/2022, 2:04 AMkfaraz
10/04/2022, 2:28 AMdruid.indexer.runner.javaOptsArray (https://druid.apache.org/docs/latest/configuration/index.html#middlemanager-configuration)
Also, since the failure is in the merge phase, you could try reducing maxNumSegmentsToMerge to a small value (https://druid.apache.org/docs/latest/ingestion/native-batch.html#tuningconfig)Felipe Gonzalez
10/04/2022, 2:13 PMmaxNumSegmentsToMerge, I’m currently running with range partitioning to see it it handles the indexes betterFelipe Gonzalez
10/04/2022, 10:04 PMGian Merlino
10/07/2022, 5:33 AM-XX:+HeapDumpOnOutOfMemoryError in your druid.indexer.runner.javaOpts or druid.indexer.runner.javaOptsArray)
2) As an alternative approach, in the last release (24.0) we introduced SQL-based ingest and multi-stage query tasks which is totally re-engineered and much better at memory management. This can be used for manual compaction using REPLACE: https://druid.apache.org/docs/latest/multi-stage-query/concepts.html#overwrite-data-with-replace. There are some examples: https://druid.apache.org/docs/latest/multi-stage-query/examples.html. If you use it, would love your feedback on this new feature! Note: we haven't yet built a way to use this for autocompaction, but we plan to in the future.Felipe Gonzalez
10/11/2022, 12:54 PMFelipe Gonzalez
10/11/2022, 1:36 PMGian Merlino
10/11/2022, 9:03 PMGian Merlino
10/11/2022, 9:04 PM