chukwa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ey...@apache.org
Subject svn commit: r761141 - /hadoop/chukwa/trunk/src/java/org/apache/hadoop/chukwa/extraction/demux/processor/mapper/Iostat.java
Date Thu, 02 Apr 2009 01:19:28 GMT
Author: eyang
Date: Thu Apr  2 01:19:27 2009
New Revision: 761141

URL: http://svn.apache.org/viewvc?rev=761141&view=rev
Log:
CHUKWA-75. Skip the key/value pair, if it is overflowed.  (Eric Yang)

Modified:
    hadoop/chukwa/trunk/src/java/org/apache/hadoop/chukwa/extraction/demux/processor/mapper/Iostat.java

Modified: hadoop/chukwa/trunk/src/java/org/apache/hadoop/chukwa/extraction/demux/processor/mapper/Iostat.java
URL: http://svn.apache.org/viewvc/hadoop/chukwa/trunk/src/java/org/apache/hadoop/chukwa/extraction/demux/processor/mapper/Iostat.java?rev=761141&r1=761140&r2=761141&view=diff
==============================================================================
--- hadoop/chukwa/trunk/src/java/org/apache/hadoop/chukwa/extraction/demux/processor/mapper/Iostat.java
(original)
+++ hadoop/chukwa/trunk/src/java/org/apache/hadoop/chukwa/extraction/demux/processor/mapper/Iostat.java
Thu Apr  2 01:19:27 2009
@@ -103,9 +103,7 @@
                 try {
                   // Filter out overflow values for older linux systems
                   long x=Long.parseLong(data[j]);
-                  if(x>1000000000L) {
-                    record.add(headers[j],"0");
-                  } else {
+                  if(x<100000000000L) {
                     record.add(headers[j],data[j]);
                   }
                 } catch(NumberFormatException ex) {



Mime
View raw message