Midpoint between two splits

2015-12-17 Thread Adam J. Shook
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

Re: Midpoint between two splits

2015-12-17 Thread Eric Newton
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 wrote: > Hello all, > > I've got an odd use case that requires me to

Re: Midpoint between two splits

2015-12-17 Thread Adam J. Shook
Thank you, Eric! Making this public may be helpful to others down the road. Unsure how many requests are out there for this kind of functionality being public. On Thu, Dec 17, 2015 at 3:58 PM, Eric Newton wrote: > You'll want to look > at