hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ey...@apache.org
Subject svn commit: r748658 - /hadoop/core/trunk/src/contrib/chukwa/bin/dbAdmin.sh
Date Fri, 27 Feb 2009 19:52:37 GMT
Author: eyang
Date: Fri Feb 27 19:52:37 2009
New Revision: 748658

URL: http://svn.apache.org/viewvc?rev=748658&view=rev
Log:
HADOOP-5054.  Improved Chukwa database partitioning by date.

Modified:
    hadoop/core/trunk/src/contrib/chukwa/bin/dbAdmin.sh

Modified: hadoop/core/trunk/src/contrib/chukwa/bin/dbAdmin.sh
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/src/contrib/chukwa/bin/dbAdmin.sh?rev=748658&r1=748657&r2=748658&view=diff
==============================================================================
--- hadoop/core/trunk/src/contrib/chukwa/bin/dbAdmin.sh (original)
+++ hadoop/core/trunk/src/contrib/chukwa/bin/dbAdmin.sh Fri Feb 27 19:52:37 2009
@@ -26,13 +26,13 @@
 fi
 
 trap 'rm -f $CHUKWA_HOME/var/run/chukwa-$CHUKWA_IDENT_STRING-dbAdmin.sh.pid ${CHUKWA_HOME}/var/run/dbAdmin.pid;
exit 0' 1 2 15
-EXP_DATE=`date +%Y-%m-%d`
 
 JVM_OPTS="-DAPP=dbAdmin -Dlog4j.configuration=chukwa-log4j.properties -DCHUKWA_HOME=${CHUKWA_HOME}
-DCHUKWA_CONF_DIR=${CHUKWA_CONF_DIR} -DCHUKWA_LOG_DIR=${CHUKWA_LOG_DIR} -DDATACONFIG=${CHUKWA_CONF_DIR}/mdl.xml
-classpath ${CLASSPATH}:${CHUKWA_CORE}:${COMMON}:${HADOOP_JAR}:${CHUKWA_CONF_DIR}"
 
 echo "${pid}" > "${CHUKWA_HOME}/var/run/dbAdmin.pid"
 while [ 1 ]
   do
+    EXP_DATE=`date +%Y-%m-%d`
     start=`date +%s`
     cat ${CHUKWA_CONF_DIR}/jdbc.conf | \
     while read LINE; do



Mime
View raw message