Permalink
Browse files

Rebalancing integration test change: start servers with cluster.xml w…

…ith additional nodes but empty partition lists
  • Loading branch information...
1 parent b5f56e5 commit 81abff647894b8f83ff07609d569683e39e7e3ad Lei Gao committed Oct 11, 2011
@@ -35,7 +35,7 @@ done
# generate the target cluster.xml
echo Generate target cluster.xml
cd $VLDMDIR
-bin/voldemort-rebalance.sh --current-cluster $METADIR/initial-cluster.xml --current-stores $METADIR/stores.xml --target-cluster $METADIR/target-cluster.xml --generate --output-dir $METADIR > $LOGDIR/$CLUSTERGENLOG
+bin/voldemort-rebalance.sh --current-cluster $METADIR/target-cluster.xml --current-stores $METADIR/stores.xml --target-cluster $METADIR/initial-cluster.xml --generate --output-dir $METADIR > $LOGDIR/$CLUSTERGENLOG
cd $WORKDIR
if [ "$1" == "copy" ]
@@ -44,4 +44,22 @@
<partitions>8, 9, 14, 18, 19, 35, 36, 37, 38, 41, 47, 50, 53, 62, 63, 69, 71, 74, 81, 85, 88, 90, 94, 97, 99, 100, 102, 104, 106, 116</partitions>
<zone-id>1</zone-id>
</server>
+ <server>
+ <id>4</id>
+ <host>miner16.qa</host>
+ <http-port>8081</http-port>
+ <socket-port>6674</socket-port>
+ <admin-port>6675</admin-port>
+ <partitions></partitions>
+ <zone-id>0</zone-id>
+ </server>
+ <server>
+ <id>5</id>
+ <host>miner17.qa</host>
+ <http-port>8081</http-port>
+ <socket-port>6676</socket-port>
+ <admin-port>6677</admin-port>
+ <partitions />
+ <zone-id>1</zone-id>
+ </server>
</cluster>
@@ -44,22 +44,4 @@
<partitions>8, 9, 14, 18, 19, 35, 36, 37, 38, 41, 47, 50, 53, 62, 63, 69, 71, 74, 81, 85, 88, 90, 94, 97, 99, 100, 102, 104, 106, 116</partitions>
<zone-id>1</zone-id>
</server>
- <server>
- <id>4</id>
- <host>miner16.qa</host>
- <http-port>8081</http-port>
- <socket-port>6674</socket-port>
- <admin-port>6675</admin-port>
- <partitions></partitions>
- <zone-id>0</zone-id>
- </server>
- <server>
- <id>5</id>
- <host>miner17.qa</host>
- <http-port>8081</http-port>
- <socket-port>6676</socket-port>
- <admin-port>6677</admin-port>
- <partitions />
- <zone-id>1</zone-id>
- </server>
</cluster>

0 comments on commit 81abff6

Please sign in to comment.