chukwa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ey...@apache.org
Subject svn commit: r767745 - in /hadoop/chukwa: branches/chukwa-0.1/bin/aggregator.sh trunk/bin/aggregator.sh
Date Thu, 23 Apr 2009 00:45:45 GMT
Author: eyang
Date: Thu Apr 23 00:45:44 2009
New Revision: 767745

URL: http://svn.apache.org/viewvc?rev=767745&view=rev
Log:
CHUKWA-176. Reorder aggregator.sh parameters order.  (Eric Yang)

Modified:
    hadoop/chukwa/branches/chukwa-0.1/bin/aggregator.sh
    hadoop/chukwa/trunk/bin/aggregator.sh

Modified: hadoop/chukwa/branches/chukwa-0.1/bin/aggregator.sh
URL: http://svn.apache.org/viewvc/hadoop/chukwa/branches/chukwa-0.1/bin/aggregator.sh?rev=767745&r1=767744&r2=767745&view=diff
==============================================================================
--- hadoop/chukwa/branches/chukwa-0.1/bin/aggregator.sh (original)
+++ hadoop/chukwa/branches/chukwa-0.1/bin/aggregator.sh Thu Apr 23 00:45:44 2009
@@ -30,7 +30,7 @@
 JVM_OPTS="-DAPP=dbAdmin -Dlog4j.configuration=chukwa-log4j.properties ${CHUKWA_OPTS} ${CLASS_OPTS}"
 
 if [ $# -lt 3 ]; then
-  echo "$0: [cluster] [command] [date]"
+  echo "$0: [command] [cluster] [date]"
   echo "[cluster] - cluster name in jdbc.conf"
   echo "[command] - create/aggregate"
   echo "            create    : create database partition for given date"
@@ -38,10 +38,10 @@
   exit 0
 fi
 
-CLUSTER=$1
-shift
 CMD=$1
 shift
+CLUSTER=$1
+shift
 
 if [ $CMD = "create" ]; then
   EXP_DATE=$@

Modified: hadoop/chukwa/trunk/bin/aggregator.sh
URL: http://svn.apache.org/viewvc/hadoop/chukwa/trunk/bin/aggregator.sh?rev=767745&r1=767744&r2=767745&view=diff
==============================================================================
--- hadoop/chukwa/trunk/bin/aggregator.sh (original)
+++ hadoop/chukwa/trunk/bin/aggregator.sh Thu Apr 23 00:45:44 2009
@@ -30,7 +30,7 @@
 JVM_OPTS="-DAPP=dbAdmin -Dlog4j.configuration=chukwa-log4j.properties ${CHUKWA_OPTS} ${CLASS_OPTS}"
 
 if [ $# -lt 3 ]; then
-  echo "$0: [cluster] [command] [date]"
+  echo "$0: [command] [cluster] [date]"
   echo "[cluster] - cluster name in jdbc.conf"
   echo "[command] - create/aggregate"
   echo "            create    : create database partition for given date"
@@ -38,10 +38,10 @@
   exit 0
 fi
 
-CLUSTER=$1
-shift
 CMD=$1
 shift
+CLUSTER=$1
+shift
 
 if [ $CMD = "create" ]; then
   EXP_DATE=$@



Mime
View raw message