chukwa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ey...@apache.org
Subject svn commit: r763374 - /hadoop/chukwa/trunk/src/java/org/apache/hadoop/chukwa/database/Macro.java
Date Wed, 08 Apr 2009 20:16:46 GMT
Author: eyang
Date: Wed Apr  8 20:16:46 2009
New Revision: 763374

URL: http://svn.apache.org/viewvc?rev=763374&view=rev
Log:
CHUKWA-105. Updated regex for table list split.


Modified:
    hadoop/chukwa/trunk/src/java/org/apache/hadoop/chukwa/database/Macro.java

Modified: hadoop/chukwa/trunk/src/java/org/apache/hadoop/chukwa/database/Macro.java
URL: http://svn.apache.org/viewvc/hadoop/chukwa/trunk/src/java/org/apache/hadoop/chukwa/database/Macro.java?rev=763374&r1=763373&r2=763374&view=diff
==============================================================================
--- hadoop/chukwa/trunk/src/java/org/apache/hadoop/chukwa/database/Macro.java (original)
+++ hadoop/chukwa/trunk/src/java/org/apache/hadoop/chukwa/database/Macro.java Wed Apr  8 20:16:46
2009
@@ -260,7 +260,7 @@
             String mkey = macroKeys.next();
             if(macroList.get(mkey).contains("|")) {
                 StringBuffer buf = new StringBuffer();
-                String[] tableList = macroList.get(mkey).split("|");
+                String[] tableList = macroList.get(mkey).split("\\|");
                 boolean first = true;
                 for(String table : tableList) {
                     String newQuery = query.replace("["+mkey+"]", table);



Mime
View raw message