There are some tests in 1.5.x that rely on the GetMasterStats utility to
see if things are balanced. They parse the text output though.

https://github.com/apache/accumulo/blob/1.6.0/test/src/main/java/org/apache/accumulo/test/GetMasterStats.java


On Mon, Jul 14, 2014 at 3:26 PM, Eric Newton <[email protected]> wrote:

> There isn't really a good way.  The test for the faster balancer verifies
> that no tablets are offline.
>
> -Eric
>
>
>
> On Mon, Jul 14, 2014 at 3:53 PM, Mike Drob <[email protected]> wrote:
>
> > Do we have a programmatic way of asserting that the balancer has
> finished?
> > I'm creating tables and pre-splitting them before doing any loads and
> > currently just sleep for a minute hoping that all of the tablets will be
> > distributed enough. Is there a better way?
> >
> > Mike
> >
>



-- 
Sean

Reply via email to