Alexey Serbin has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/11606


Change subject: [tests] location assignment for ExternaMiniCluster
......................................................................

[tests] location assignment for ExternaMiniCluster

Introduced location assignment rules for tablet servers running as
part of ExternalMiniCluster.  With this changelist, it's possible
to have tablet servers of ExternalMiniCluster to be assigned among
locations in accordance with simple number-of-tablet-servers-at-location
mappings.

For example, the following is a self-descriptive example of a such
a mapping to assign six tablet servers in a cluster among three
locations:

  L0:1  L1:2  L2:3

Added an integration test to verify the location assignment
rules for ExternalMiniCluster work as intended.

Change-Id: I63309804cf2fdd8a620b50abdd7133af6a033c30
---
M src/kudu/integration-tests/CMakeLists.txt
M src/kudu/integration-tests/cluster_itest_util.cc
M src/kudu/integration-tests/cluster_itest_util.h
A src/kudu/integration-tests/scripts/assign-location.py
A src/kudu/integration-tests/ts_location_assignment-itest.cc
M src/kudu/master/ts_descriptor.cc
M src/kudu/mini-cluster/external_mini_cluster.cc
M src/kudu/mini-cluster/external_mini_cluster.h
8 files changed, 416 insertions(+), 5 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/06/11606/1
--
To view, visit http://gerrit.cloudera.org:8080/11606
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I63309804cf2fdd8a620b50abdd7133af6a033c30
Gerrit-Change-Number: 11606
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <[email protected]>

Reply via email to