io.druid.segment.incremental.IndexSizeExceededException
I'm trying build index for 8M lines, but on some point ~800K records, get an issue:
io.druid.segment.incremental.IndexSizeExceededException: Maximum aggregation buffer limit reached [536870912 bytes].
IndexSizeExceededException is common one. You should either increase your index size or persist the index and create a new one whenever the index size reaches its maximum. The second option is the better one, when you are handling with larger indexes. Also, after persisting the current index, please do not forget to close it before creating the new one.
@vsankaranarayana thanks!
If I right understand, it is similar to plumber on top druid? How can I monitor the index size to persist it? Is it possible to read many of persist indexes? To 8M all get ~10 persist indexes.
You can check the index size anytime and would recommend you to go through io.druid.segment and io.druid.data APIs . Additionally, as each call to persist would create an index file, you can merge all of those index files and create a single index file at the end.
@vsankaranarayana thank you!