chukwa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From asrab...@apache.org
Subject svn commit: r1033663 - in /incubator/chukwa/trunk: CHANGES.txt src/java/org/apache/hadoop/chukwa/datacollection/adaptor/ExecAdaptor.java
Date Wed, 10 Nov 2010 19:34:41 GMT
Author: asrabkin
Date: Wed Nov 10 19:34:41 2010
New Revision: 1033663

URL: http://svn.apache.org/viewvc?rev=1033663&view=rev
Log:
CHUKWA-447. Correct time units in ExecAdaptor. Contributed by Eric Yang.

Modified:
    incubator/chukwa/trunk/CHANGES.txt
    incubator/chukwa/trunk/src/java/org/apache/hadoop/chukwa/datacollection/adaptor/ExecAdaptor.java

Modified: incubator/chukwa/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/chukwa/trunk/CHANGES.txt?rev=1033663&r1=1033662&r2=1033663&view=diff
==============================================================================
--- incubator/chukwa/trunk/CHANGES.txt (original)
+++ incubator/chukwa/trunk/CHANGES.txt Wed Nov 10 19:34:41 2010
@@ -54,6 +54,8 @@ Trunk (unreleased changes)
 
   BUG FIXES
 
+    CHUKWA-447. Correct time units in ExecAdaptor. (Eric Yang via asrabkin)
+
     CHUKWA-542.  Disable hbase jar download from maven, and include hicc rest api in HICC
web.xml (Eric Yang)
 
     CHUKWA-516. Downgrade to HBase 0.20.6 until 0.90 arrives. (Eric Yang)

Modified: incubator/chukwa/trunk/src/java/org/apache/hadoop/chukwa/datacollection/adaptor/ExecAdaptor.java
URL: http://svn.apache.org/viewvc/incubator/chukwa/trunk/src/java/org/apache/hadoop/chukwa/datacollection/adaptor/ExecAdaptor.java?rev=1033663&r1=1033662&r2=1033663&view=diff
==============================================================================
--- incubator/chukwa/trunk/src/java/org/apache/hadoop/chukwa/datacollection/adaptor/ExecAdaptor.java
(original)
+++ incubator/chukwa/trunk/src/java/org/apache/hadoop/chukwa/datacollection/adaptor/ExecAdaptor.java
Wed Nov 10 19:34:41 2010
@@ -120,7 +120,7 @@ public class ExecAdaptor extends Abstrac
 
   String cmd;
   final java.util.Timer timer;
-  long period = 5 * 1000;
+  long period = 5;
   volatile long sendOffset = 0;
 
   public ExecAdaptor() {
@@ -161,7 +161,7 @@ public class ExecAdaptor extends Abstrac
     this.sendOffset = offset;
     this.exec = new EmbeddedExec(cmd);
     TimerTask execTimer = new RunToolTask();
-    timer.schedule(execTimer, 0L, period);
+    timer.schedule(execTimer, 0L, period*1000L);
   }
 
 



Mime
View raw message