chukwa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From asrab...@apache.org
Subject svn commit: r789131 - in /hadoop/chukwa/trunk: CHANGES.txt src/java/org/apache/hadoop/chukwa/extraction/demux/processor/mapper/JobLog.java
Date Sun, 28 Jun 2009 17:33:48 GMT
Author: asrabkin
Date: Sun Jun 28 17:33:48 2009
New Revision: 789131

URL: http://svn.apache.org/viewvc?rev=789131&view=rev
Log:
CHUKWA-335. Discard meta line in job history file. Contributed by Cheng Zhang.

Modified:
    hadoop/chukwa/trunk/CHANGES.txt
    hadoop/chukwa/trunk/src/java/org/apache/hadoop/chukwa/extraction/demux/processor/mapper/JobLog.java

Modified: hadoop/chukwa/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/chukwa/trunk/CHANGES.txt?rev=789131&r1=789130&r2=789131&view=diff
==============================================================================
--- hadoop/chukwa/trunk/CHANGES.txt (original)
+++ hadoop/chukwa/trunk/CHANGES.txt Sun Jun 28 17:33:48 2009
@@ -76,6 +76,8 @@
 
   BUG FIXES
 
+    CHUKWA-335. Discard meta line in job history file. (Cheng Zhang via asrabkin)
+
     CHUKWA-330. Make separation between fixed adaptor parameters and optional adaptor parameters
for generating adaptor id. (Ari Rabkin via Eric Yang)
 
     CHUKWA-37. Remove stale and unused bin scripts. (asrabkin)

Modified: hadoop/chukwa/trunk/src/java/org/apache/hadoop/chukwa/extraction/demux/processor/mapper/JobLog.java
URL: http://svn.apache.org/viewvc/hadoop/chukwa/trunk/src/java/org/apache/hadoop/chukwa/extraction/demux/processor/mapper/JobLog.java?rev=789131&r1=789130&r2=789131&view=diff
==============================================================================
--- hadoop/chukwa/trunk/src/java/org/apache/hadoop/chukwa/extraction/demux/processor/mapper/JobLog.java
(original)
+++ hadoop/chukwa/trunk/src/java/org/apache/hadoop/chukwa/extraction/demux/processor/mapper/JobLog.java
Sun Jun 28 17:33:48 2009
@@ -47,7 +47,7 @@
       return null;
     }
     recordEntry = recordEntry.trim();
-    if(recordEntry.length() == 0) {
+    if(recordEntry.length() == 0 || recordEntry.startsWith("Meta")) {
       savedLines = "";
       return null;
     }



Mime
View raw message