As long as you call close() on your BatchWriters after adding all mutations, you'll be fine. The close() method will block on the client side.
Accumulo - Means of checking BatchWriter progress
-
02-06-2022 - |
Pergunta
Scenario is that I have several threads that ultimately add collections of mutations to specific BatchWriters. I don't want my program to close before all of the mutations are pushed to the Cluster. Is there a way to check the BatchWriter progress or does the BatchWriter stall until it gets through its collection of mutations or am I missing something altogether?
Solução
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow