hbase-commits mailing list archives

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

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

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

Modified: hadoop/hbase/branches/0.20_pre_durability/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/hbase/branches/0.20_pre_durability/CHANGES.txt?rev=932182&r1=932181&r2=932182&view=diff
==============================================================================
--- hadoop/hbase/branches/0.20_pre_durability/CHANGES.txt (original)
+++ hadoop/hbase/branches/0.20_pre_durability/CHANGES.txt Fri Apr  9 00:07:41 2010
@@ -38,6 +38,7 @@ Release 0.20.4 - Unreleased
    HBASE-2365  Double-assignment around split
    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_pre_durability/src/java/org/apache/hadoop/hbase/filter/FilterList.java
URL: http://svn.apache.org/viewvc/hadoop/hbase/branches/0.20_pre_durability/src/java/org/apache/hadoop/hbase/filter/FilterList.java?rev=932182&r1=932181&r2=932182&view=diff
==============================================================================
--- hadoop/hbase/branches/0.20_pre_durability/src/java/org/apache/hadoop/hbase/filter/FilterList.java
(original)
+++ hadoop/hbase/branches/0.20_pre_durability/src/java/org/apache/hadoop/hbase/filter/FilterList.java
Fri Apr  9 00:07:41 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