hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdcry...@apache.org
Subject svn commit: r932181 - in /hadoop/hbase/branches/0.20: CHANGES.txt src/java/org/apache/hadoop/hbase/filter/FilterList.java
Date Fri, 09 Apr 2010 00:07:07 GMT
Author: jdcryans
Date: Fri Apr  9 00:07:07 2010
New Revision: 932181

URL: http://svn.apache.org/viewvc?rev=932181&view=rev
Log:
HBASE-2346  Usage of FilterList slows down scans

Modified:
    hadoop/hbase/branches/0.20/CHANGES.txt
    hadoop/hbase/branches/0.20/src/java/org/apache/hadoop/hbase/filter/FilterList.java

Modified: hadoop/hbase/branches/0.20/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/hbase/branches/0.20/CHANGES.txt?rev=932181&r1=932180&r2=932181&view=diff
==============================================================================
--- hadoop/hbase/branches/0.20/CHANGES.txt (original)
+++ hadoop/hbase/branches/0.20/CHANGES.txt Fri Apr  9 00:07:07 2010
@@ -75,6 +75,7 @@ Release 0.20.4 - Unreleased
    HBASE-2419  Remove from RS logs the fat NotServingRegionException stack
    HBASE-2335  mapred package docs don't say zookeeper jar is a dependent
    HBASE-2417  HCM.locateRootRegion fails hard on "Connection refused"
+   HBASE-2346  Usage of FilterList slows down scans
 
   IMPROVEMENTS
    HBASE-2180  Bad read performance from synchronizing hfile.fddatainputstream

Modified: hadoop/hbase/branches/0.20/src/java/org/apache/hadoop/hbase/filter/FilterList.java
URL: http://svn.apache.org/viewvc/hadoop/hbase/branches/0.20/src/java/org/apache/hadoop/hbase/filter/FilterList.java?rev=932181&r1=932180&r2=932181&view=diff
==============================================================================
--- hadoop/hbase/branches/0.20/src/java/org/apache/hadoop/hbase/filter/FilterList.java (original)
+++ hadoop/hbase/branches/0.20/src/java/org/apache/hadoop/hbase/filter/FilterList.java Fri
Apr  9 00:07:07 2010
@@ -50,6 +50,7 @@ public class FilterList implements Filte
     MUST_PASS_ONE
   }
 
+  private static final Configuration conf = new HBaseConfiguration();
   private Operator operator = Operator.MUST_PASS_ALL;
   private List<Filter> filters = new ArrayList<Filter>();
 
@@ -211,7 +212,6 @@ public class FilterList implements Filte
   }
 
   public void readFields(final DataInput in) throws IOException {
-    Configuration conf = new HBaseConfiguration();
     byte opByte = in.readByte();
     operator = Operator.values()[opByte];
     int size = in.readInt();
@@ -225,7 +225,6 @@ public class FilterList implements Filte
   }
 
   public void write(final DataOutput out) throws IOException {
-    Configuration conf = new HBaseConfiguration();
     out.writeByte(operator.ordinal());
     out.writeInt(filters.size());
     for (Filter filter : filters) {



Mime
View raw message