chukwa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From asrab...@apache.org
Subject svn commit: r924374 - /hadoop/chukwa/trunk/src/java/org/apache/hadoop/chukwa/ChunkImpl.java
Date Wed, 17 Mar 2010 17:25:49 GMT
Author: asrabkin
Date: Wed Mar 17 17:25:49 2010
New Revision: 924374

URL: http://svn.apache.org/viewvc?rev=924374&view=rev
Log:
CHUKWA-463. Yet another pattern tweak in Filter.java

Modified:
    hadoop/chukwa/trunk/src/java/org/apache/hadoop/chukwa/ChunkImpl.java

Modified: hadoop/chukwa/trunk/src/java/org/apache/hadoop/chukwa/ChunkImpl.java
URL: http://svn.apache.org/viewvc/hadoop/chukwa/trunk/src/java/org/apache/hadoop/chukwa/ChunkImpl.java?rev=924374&r1=924373&r2=924374&view=diff
==============================================================================
--- hadoop/chukwa/trunk/src/java/org/apache/hadoop/chukwa/ChunkImpl.java (original)
+++ hadoop/chukwa/trunk/src/java/org/apache/hadoop/chukwa/ChunkImpl.java Wed Mar 17 17:25:49
2010
@@ -184,7 +184,7 @@ public class ChunkImpl implements org.ap
    * @see org.apache.hadoop.chukwa.Chunk#getTag(java.lang.String)
    */
   public String getTag(String tagName) {
-    Pattern tagPattern = Pattern.compile("\\b"+tagName+"=\"(.*?)\"\\b");
+    Pattern tagPattern = Pattern.compile("\\b"+tagName+"=\"([^\"]*)\"");
     if (tags != null) {
       Matcher matcher = tagPattern.matcher(tags);
       if (matcher.find()) {



Mime
View raw message