accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sean Busbey <bus...@cloudera.com>
Subject Re: Waiting for [accumulo] balancer to finish
Date Mon, 14 Jul 2014 20:35:07 GMT
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 <eric.newton@gmail.com> 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 <madrob@cloudera.com> 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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message