From 04854208400c8b7f3b1f5d3832c9fb86964d39b0 Mon Sep 17 00:00:00 2001 From: Siddharth Singh Date: Fri, 28 Jun 2013 16:54:55 -0700 Subject: [PATCH] Fix comments --- bin/rebalance-cluster-expansion.sh | 2 +- bin/rebalance-shuffle.sh | 2 +- bin/rebalance-zone-expansion.sh | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/bin/rebalance-cluster-expansion.sh b/bin/rebalance-cluster-expansion.sh index 18ddbb02d..5ceb8975e 100755 --- a/bin/rebalance-cluster-expansion.sh +++ b/bin/rebalance-cluster-expansion.sh @@ -109,7 +109,7 @@ if [ ! -e $interim_cluster ]; then fi -# The final cluster.xml for new cluster is generated in two steps. +# The final cluster.xml for cluster expansion is generated in two steps. # Step 1: Current cluster.xml is fed to the repartitioner along with the interim cluster xml. # The repartitioner tries to balance the ring by moving the partitions around. # Step 2: A plan is generated on how to reach from the orignal cluster topology to diff --git a/bin/rebalance-shuffle.sh b/bin/rebalance-shuffle.sh index d51bdfe27..42674a8da 100755 --- a/bin/rebalance-shuffle.sh +++ b/bin/rebalance-shuffle.sh @@ -102,7 +102,7 @@ if [ ! -e $current_stores ]; then usage_and_exit "File '$current_stores' does not exist." fi -# The final cluster.xml for new cluster is generated in two steps. +# The final cluster.xml after shuffling is generated in two steps. # Step 1: Current cluster.xml is fed to the repartitioner along with random swap # attempts. The repartitioner randomly swaps the partitions # and tries to balance the ring. diff --git a/bin/rebalance-zone-expansion.sh b/bin/rebalance-zone-expansion.sh index 76efbec06..122576a31 100755 --- a/bin/rebalance-zone-expansion.sh +++ b/bin/rebalance-zone-expansion.sh @@ -15,15 +15,15 @@ # See the License for the specific language governing permissions and # limitations under the License. -# This script uses getopts which means only single character switches are allowed. -# Using getopt would allow for multi charcter switch names but would come at a -# cost of not being cross compatibility. - # This script generates a cluster.xml and a plan for the zone expansion. # The final cluster is placed in output_dir/ # Argument = -v vold_home -c current_cluster -s current_stores -i interim_cluster -f final_stores # -o output dir +# This script uses getopts which means only single character switches are allowed. +# Using getopt would allow for multi charcter switch names but would come at a +# cost of not being cross compatibility. + # Function to display usage usage_and_exit() { echo "ERROR: $1." -- 2.11.4.GIT