accumulo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Newton <>
Subject Re: Midpoint between two splits
Date Thu, 17 Dec 2015 20:58:47 GMT
You'll want to look
at org.apache.accumulo.server.util.FileUtil#findMidPoint. Note that it
isn't in the public API, and can change in the future.


On Thu, Dec 17, 2015 at 1:17 PM, Adam J. Shook <> wrote:

> Hello all,
> I've got an odd use case that requires me to calculate the midpoint
> between two Accumulo splits.  I've been searching through the Accumulo
> source code for a little bit trying to find where Accumulo automatically
> calculates a new split.  I am assuming that the new split point is
> somewhere around the midpoint of two existing splits, and I was hoping to
> just take that instead of coding it up myself.
> Is this assumption correct?  Could someone point it out to me so I can
> borrow it?  Or maybe there is some API call to calculate the midpoint?
> Thank you,
> --Adam

View raw message