accumulo icon indicating copy to clipboard operation
accumulo copied to clipboard

Run FindCompactionTmpFiles utility via accumulo Admin

Open ArbaazKhan1 opened this issue 1 year ago • 5 comments

Added command option FindCompactionTmpFIles to admin commands.

closes issue #3986

ArbaazKhan1 avatar Apr 16 '24 21:04 ArbaazKhan1

Should there be a check to see if the system is up or if there running compactions? If this was run on a system with active compactions, would it find and delete files that were currently being written to be the compaction process?

As a stand-alone utility it is a little harder to run the command - if elevated to an admin utility, would that increase the chances that it would be run on an active system?

EdColeman avatar Apr 18 '24 16:04 EdColeman

Should there be a check to see if the system is up or if there running compactions? If this was run on a system with active compactions, would it find and delete files that were currently being written to be the compaction process?

As a stand-alone utility it is a little harder to run the command - if elevated to an admin utility, would that increase the chances that it would be run on an active system?

FindCompactionTmpFiles first finds the tmp files, then removes from that set any file that is referenced from currently executing compactions.

dlmarion avatar Apr 19 '24 12:04 dlmarion

May want to wait on merging this until after #4807 is merged, because I suspect there will be conflicts, or at least some related changes.

ctubbsii avatar Sep 04 '24 15:09 ctubbsii