chukwa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ey...@apache.org
Subject svn commit: r786704 - in /hadoop/chukwa: branches/chukwa-0.2/CHANGES.txt branches/chukwa-0.2/bin/UserDailySummary.sh trunk/CHANGES.txt trunk/bin/UserDailySummary.sh
Date Fri, 19 Jun 2009 22:57:06 GMT
Author: eyang
Date: Fri Jun 19 22:57:06 2009
New Revision: 786704

URL: http://svn.apache.org/viewvc?rev=786704&view=rev
Log:
CHUKWA-319. Added cluster name to pig user aggregation script. (Cheng Zhang via Eric Yang)

Modified:
    hadoop/chukwa/branches/chukwa-0.2/CHANGES.txt
    hadoop/chukwa/branches/chukwa-0.2/bin/UserDailySummary.sh
    hadoop/chukwa/trunk/CHANGES.txt
    hadoop/chukwa/trunk/bin/UserDailySummary.sh

Modified: hadoop/chukwa/branches/chukwa-0.2/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/chukwa/branches/chukwa-0.2/CHANGES.txt?rev=786704&r1=786703&r2=786704&view=diff
==============================================================================
--- hadoop/chukwa/branches/chukwa-0.2/CHANGES.txt (original)
+++ hadoop/chukwa/branches/chukwa-0.2/CHANGES.txt Fri Jun 19 22:57:06 2009
@@ -68,6 +68,8 @@
 
   BUG FIXES
 
+    CHUKWA-319. Added cluster name to pig user aggregation script. (Cheng Zhang via Eric
Yang)
+
     CHUKWA-316. Added explicit rule for MetricDataLoader to prevent loading of data. (Eric
Yang)
 
     CHUKWA-312. Fixed chukwa-pig.jar class path for pig aggregation. (Cheng Zhang via Eric
Yang)

Modified: hadoop/chukwa/branches/chukwa-0.2/bin/UserDailySummary.sh
URL: http://svn.apache.org/viewvc/hadoop/chukwa/branches/chukwa-0.2/bin/UserDailySummary.sh?rev=786704&r1=786703&r2=786704&view=diff
==============================================================================
--- hadoop/chukwa/branches/chukwa-0.2/bin/UserDailySummary.sh (original)
+++ hadoop/chukwa/branches/chukwa-0.2/bin/UserDailySummary.sh Fri Jun 19 22:57:06 2009
@@ -64,7 +64,7 @@
         uniqdir="/chukwa/pig/${cluster}_${recType}_${day}_`date +%s`"
         output="$uniqdir/${day}.D"
 
-        "$JAVA_HOME"/bin/java -cp ${CHUKWA_CORE}:${HADOOP_JAR}:${HADOOP_CONF_DIR}:${CHUKWA_HOME}/contrib/chukwa-pig/lib/pig.jar
org.apache.pig.Main -param chukwaCore=${CHUKWA_CORE} -param chukwaPig=${CHUKWA_HOME}/contrib/chukwa-pig/chukwa-pig.jar
-param output=${output} -param jobfile=$jobfile -param taskfile=$taskfile -param TIMESTAMP=`date
-d ${day} +%s`000 ${pig}
+        "$JAVA_HOME"/bin/java -cp ${CHUKWA_CORE}:${HADOOP_JAR}:${HADOOP_CONF_DIR}:${CHUKWA_HOME}/contrib/chukwa-pig/lib/pig.jar
org.apache.pig.Main -param chukwaCore=${CHUKWA_CORE} -param chukwaPig=${CHUKWA_HOME}/contrib/chukwa-pig/chukwa-pig.jar
-param output=${output} -param jobfile=$jobfile -param taskfile=$taskfile -param cluster=$cluster
-param TIMESTAMP=`date -d ${day} +%s`000 ${pig}
 
         cmd="${JAVA_HOME}/bin/java -DAPP=UserDailySummary -Dlog4j.configuration=chukwa-log4j.properties
-DCHUKWA_HOME=${CHUKWA_HOME} -DCHUKWA_CONF_DIR=${CHUKWA_CONF_DIR} -DCHUKWA_LOG_DIR=${CHUKWA_LOG_DIR}
-classpath ${CHUKWA_HOME}/contrib/chukwa-pig/chukwa-pig.jar:${HADOOP_CONF_DIR}:${CLASSPATH}:${CHUKWA_CORE}:${COMMON}:${HADOOP_JAR}:${CHUKWA_CONF_DIR}
org.apache.hadoop.chukwa.tools.PigMover ${cluster} ${recType} ${uniqdir}  ${output} /chukwa/postProcess/"
         echo $cmd

Modified: hadoop/chukwa/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/chukwa/trunk/CHANGES.txt?rev=786704&r1=786703&r2=786704&view=diff
==============================================================================
--- hadoop/chukwa/trunk/CHANGES.txt (original)
+++ hadoop/chukwa/trunk/CHANGES.txt Fri Jun 19 22:57:06 2009
@@ -68,6 +68,8 @@
 
   BUG FIXES
 
+    CHUKWA-319. Added cluster name to pig user aggregation script. (Cheng Zhang via Eric
Yang)
+
     CHUKWA-316. Added explicit rule for MetricDataLoader to prevent loading of data. (Eric
Yang)
 
     CHUKWA-42. Clean up logging of adaptor creation. (Ari Rabkin)

Modified: hadoop/chukwa/trunk/bin/UserDailySummary.sh
URL: http://svn.apache.org/viewvc/hadoop/chukwa/trunk/bin/UserDailySummary.sh?rev=786704&r1=786703&r2=786704&view=diff
==============================================================================
--- hadoop/chukwa/trunk/bin/UserDailySummary.sh (original)
+++ hadoop/chukwa/trunk/bin/UserDailySummary.sh Fri Jun 19 22:57:06 2009
@@ -64,7 +64,7 @@
         uniqdir="/chukwa/pig/${cluster}_${recType}_${day}_`date +%s`"
         output="$uniqdir/${day}.D"
 
-        "$JAVA_HOME"/bin/java -cp ${CHUKWA_CORE}:${HADOOP_JAR}:${HADOOP_CONF_DIR}:${CHUKWA_HOME}/contrib/chukwa-pig/lib/pig.jar
org.apache.pig.Main -param chukwaCore=${CHUKWA_CORE} -param chukwaPig=${CHUKWA_HOME}/contrib/chukwa-pig/chukwa-pig.jar
-param output=${output} -param jobfile=$jobfile -param taskfile=$taskfile -param TIMESTAMP=`date
-d ${day} +%s`000 ${pig}
+        "$JAVA_HOME"/bin/java -cp ${CHUKWA_CORE}:${HADOOP_JAR}:${HADOOP_CONF_DIR}:${CHUKWA_HOME}/contrib/chukwa-pig/lib/pig.jar
org.apache.pig.Main -param chukwaCore=${CHUKWA_CORE} -param chukwaPig=${CHUKWA_HOME}/contrib/chukwa-pig/chukwa-pig.jar
-param output=${output} -param jobfile=$jobfile -param taskfile=$taskfile -param cluster=$cluster
-param TIMESTAMP=`date -d ${day} +%s`000 ${pig}
 
         cmd="${JAVA_HOME}/bin/java -DAPP=UserDailySummary -Dlog4j.configuration=chukwa-log4j.properties
-DCHUKWA_HOME=${CHUKWA_HOME} -DCHUKWA_CONF_DIR=${CHUKWA_CONF_DIR} -DCHUKWA_LOG_DIR=${CHUKWA_LOG_DIR}
-classpath ${CHUKWA_HOME}/contrib/chukwa-pig/chukwa-pig.jar:${HADOOP_CONF_DIR}:${CLASSPATH}:${CHUKWA_CORE}:${COMMON}:${HADOOP_JAR}:${CHUKWA_CONF_DIR}
org.apache.hadoop.chukwa.tools.PigMover ${cluster} ${recType} ${uniqdir}  ${output} /chukwa/postProcess/"
         echo $cmd



Mime
View raw message