Uniform leader assignment hack for the demo
Uniform leader assignment hack for the demo

Our current tablet assignment algo randomly distributes the leaders and the
resulting skew can have a noticeable impact on performance. This patch will make
it so that each TS has the same number of leaders if the TS count is a multiple
of 3 (yes, that kind of hack).

Change-Id: I6677fb579e8ed59d47567ab41601c1edd0a9c192
Reviewed-on: http://gerrit.ent.cloudera.com:8080/2805
Reviewed-by: Todd Lipcon <2c763d726a8c2f6afda9be7e0e56a2caa6bb5e6b@cloudera.com>
Tested-by: jenkins

andrwng/kudu,andrwng/kudu,InspurUSA/kudu,andrwng/kudu,andrwng/kudu,EvilMcJerkface/kudu,EvilMcJerkface/kudu,EvilMcJerkface/kudu,InspurUSA/kudu,InspurUSA/kudu,cloudera/kudu,InspurUSA/kudu,helifu/kudu,helifu/kudu,andrwng/kudu,helifu/kudu,andrwng/kudu,EvilMcJerkface/kudu,andrwng/kudu,EvilMcJerkface/kudu,andrwng/kudu,helifu/kudu,EvilMcJerkface/kudu,EvilMcJerkface/kudu,InspurUSA/kudu,InspurUSA/kudu,helifu/kudu,EvilMcJerkface/kudu,andrwng/kudu,cloudera/kudu,cloudera/kudu,helifu/kudu,cloudera/kudu,InspurUSA/kudu,InspurUSA/kudu,helifu/kudu,InspurUSA/kudu,cloudera/kudu,helifu/kudu,cloudera/kudu,cloudera/kudu,cloudera/kudu,helifu/kudu,cloudera/kudu,EvilMcJerkface/kudu