chukwa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ey...@apache.org
Subject svn commit: r788085 - in /hadoop/chukwa: branches/chukwa-0.2/CHANGES.txt branches/chukwa-0.2/src/java/org/apache/hadoop/chukwa/dataloader/MetricDataLoader.java trunk/CHANGES.txt trunk/src/java/org/apache/hadoop/chukwa/dataloader/MetricDataLoader.java
Date Wed, 24 Jun 2009 17:06:36 GMT
Author: eyang
Date: Wed Jun 24 17:06:35 2009
New Revision: 788085

URL: http://svn.apache.org/viewvc?rev=788085&view=rev
Log:
CHUKWA-331. Fixed regular expression for down sampling base on record type. (Cheng Zhang via
Eric Yang)

Modified:
    hadoop/chukwa/branches/chukwa-0.2/CHANGES.txt
    hadoop/chukwa/branches/chukwa-0.2/src/java/org/apache/hadoop/chukwa/dataloader/MetricDataLoader.java
    hadoop/chukwa/trunk/CHANGES.txt
    hadoop/chukwa/trunk/src/java/org/apache/hadoop/chukwa/dataloader/MetricDataLoader.java

Modified: hadoop/chukwa/branches/chukwa-0.2/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/chukwa/branches/chukwa-0.2/CHANGES.txt?rev=788085&r1=788084&r2=788085&view=diff
==============================================================================
--- hadoop/chukwa/branches/chukwa-0.2/CHANGES.txt (original)
+++ hadoop/chukwa/branches/chukwa-0.2/CHANGES.txt Wed Jun 24 17:06:35 2009
@@ -72,6 +72,8 @@
 
   BUG FIXES
 
+    CHUKWA-331. Fixed regular expression for down sampling base on record type. (Cheng Zhang
via Eric Yang)
+
     CHUKWA-329. Correction to user job summary script. (Cheng Zhang via Eric Yang)
 
     CHUKWA-328. Handle empty sequence file more gracefully for MetricDataLoader. (Cheng Zhang
via Eric Yang)

Modified: hadoop/chukwa/branches/chukwa-0.2/src/java/org/apache/hadoop/chukwa/dataloader/MetricDataLoader.java
URL: http://svn.apache.org/viewvc/hadoop/chukwa/branches/chukwa-0.2/src/java/org/apache/hadoop/chukwa/dataloader/MetricDataLoader.java?rev=788085&r1=788084&r2=788085&view=diff
==============================================================================
--- hadoop/chukwa/branches/chukwa-0.2/src/java/org/apache/hadoop/chukwa/dataloader/MetricDataLoader.java
(original)
+++ hadoop/chukwa/branches/chukwa-0.2/src/java/org/apache/hadoop/chukwa/dataloader/MetricDataLoader.java
Wed Jun 24 17:06:35 2009
@@ -192,7 +192,7 @@
     String cluster = null;
     int numOfRecords = 0;
     try {
-      Pattern p = Pattern.compile("(.*)-\\d+$");
+      Pattern p = Pattern.compile("(.*)\\-(\\d+)$");
       int batch = 0;
       while (reader.next(key, record)) {
     	numOfRecords++;

Modified: hadoop/chukwa/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/chukwa/trunk/CHANGES.txt?rev=788085&r1=788084&r2=788085&view=diff
==============================================================================
--- hadoop/chukwa/trunk/CHANGES.txt (original)
+++ hadoop/chukwa/trunk/CHANGES.txt Wed Jun 24 17:06:35 2009
@@ -76,6 +76,8 @@
 
   BUG FIXES
 
+    CHUKWA-331. Fixed regular expression for down sampling base on record type. (Cheng Zhang
via Eric Yang)
+
     CHUKWA-329. Correction to user job summary script. (Cheng Zhang via Eric Yang)
 
     CHUKWA-328. Handle empty sequence file more gracefully for MetricDataLoader. (Cheng Zhang
via Eric Yang)

Modified: hadoop/chukwa/trunk/src/java/org/apache/hadoop/chukwa/dataloader/MetricDataLoader.java
URL: http://svn.apache.org/viewvc/hadoop/chukwa/trunk/src/java/org/apache/hadoop/chukwa/dataloader/MetricDataLoader.java?rev=788085&r1=788084&r2=788085&view=diff
==============================================================================
--- hadoop/chukwa/trunk/src/java/org/apache/hadoop/chukwa/dataloader/MetricDataLoader.java
(original)
+++ hadoop/chukwa/trunk/src/java/org/apache/hadoop/chukwa/dataloader/MetricDataLoader.java
Wed Jun 24 17:06:35 2009
@@ -192,7 +192,7 @@
     String cluster = null;
     int numOfRecords = 0;
     try {
-      Pattern p = Pattern.compile("(.*)-\\d+$");
+      Pattern p = Pattern.compile("(.*)\\-(\\d+)$");
       int batch = 0;
       while (reader.next(key, record)) {
     	numOfRecords++;



Mime
View raw message