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.
Eric
On Thu, Dec 17, 2015 at 1:17 PM, Adam J. Shook <adamjshook@gmail.com> 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
>
