There is no direct correlation. A tablet will minor compact multiple times as data is added. Once the files cross a certain size threshold, a split is initiated. Once the number of files for a tablet crosses a certain numeric threshold, a major compaction occurs.
On Fri, Feb 1, 2013 at 3:37 PM, David Medinets <[email protected]>wrote: > What is the relationship between rfiles and splits? hadoop fs -l > /accumulo/tables/or/default_tablet is showing 12 rfiles. I see some > .tmp rfile as well. My table still has just one split though. Maybe I > am mixing up the Accumulo representation of the data with Accumulo's > representation? > > On Fri, Feb 1, 2013 at 3:25 PM, Keith Turner <[email protected]> wrote: > > On Fri, Feb 1, 2013 at 3:10 PM, David Medinets <[email protected]> > wrote: > >> Why Would Accumulo v1.4.1 Run Major Compaction on a One Tablet Table? > >> Brand new table. No splits No deletes. Just slamming inserts as fast > >> as possible. > > > > As data is inserted new files are produced via minor compaction. > > Eventually some of the files will be merged into one file via major > > compaction. >
