accumulo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hai Pham <>
Subject Re: How to control Minor Compaction by programming
Date Fri, 31 Jul 2015 03:17:34 GMT

Yes, in fact I really want to avoid the minor compaction as much as possible, because during
a long Ingest, any minor compaction largely blocks the speed of ingest.

But since the memory is limited, compaction is unavoidable, thus my desire is to control it
as much as possible to harmonize the code accordingly.



From: <>
Sent: Thursday, July 30, 2015 7:12 PM
Subject: RE: How to control Minor Compaction by programming

It sounds like you want to try and not minor compact during your ingest of your data. Is that

From: William Slacum []
Sent: Thursday, July 30, 2015 8:10 PM
Subject: Re: How to control Minor Compaction by programming

for minor compacting (aka "flushing") a table via the API.

On Thu, Jul 30, 2015 at 5:52 PM, Hai Pham <<>>


Please share with me is there any way that we can init / control the Minor Compaction by programming
(not from the shell). My situation is when I ingest a large data using the BatchWriter, the
minor compaction is triggered uncontrollably. The flush() command in BatchWriter seems not
for this purpose.

I also tried to play around with parameters in documentation but seems not much helpful.

Also, can you please explain the number 0, 1.0, 2.0, ... in charts (web monitoring) denoting
the level of Minor Compaction and Major Compaction?

Thank you!

Hai Pham

View raw message