hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r1245765 - in /hbase/branches/0.92: CHANGES.txt src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java
Date Fri, 17 Feb 2012 21:19:46 GMT
Author: stack
Date: Fri Feb 17 21:19:46 2012
New Revision: 1245765

URL: http://svn.apache.org/viewvc?rev=1245765&view=rev
Log:
HBASE-5195 [Coprocessors] preGet hook does not allow overriding or wrapping filter on incoming
Get

Modified:
    hbase/branches/0.92/CHANGES.txt
    hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java

Modified: hbase/branches/0.92/CHANGES.txt
URL: http://svn.apache.org/viewvc/hbase/branches/0.92/CHANGES.txt?rev=1245765&r1=1245764&r2=1245765&view=diff
==============================================================================
--- hbase/branches/0.92/CHANGES.txt (original)
+++ hbase/branches/0.92/CHANGES.txt Fri Feb 17 21:19:46 2012
@@ -24,6 +24,8 @@ Release 0.92.1 - Unreleased
                (master's EnableTableHandler)  (Terry Zhang)
    HBASE-5317  Fix testColumnFamilyCompression and test_TIMERANGE in
                TestHFileOutputFormat (Gregory Chanan)
+   HBASE-5195  [Coprocessors] preGet hook does not allow overriding or
+               wrapping filter on incoming Get
  
   IMPROVEMENTS
    HBASE-5197  [replication] Handle socket timeouts in ReplicationSource

Modified: hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java?rev=1245765&r1=1245764&r2=1245765&view=diff
==============================================================================
--- hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java (original)
+++ hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java Fri
Feb 17 21:19:46 2012
@@ -3677,8 +3677,6 @@ public class HRegion implements HeapSize
    */
   private List<KeyValue> get(Get get, boolean withCoprocessor)
   throws IOException {
-    Scan scan = new Scan(get);
-
     List<KeyValue> results = new ArrayList<KeyValue>();
 
     // pre-get CP hook
@@ -3688,6 +3686,8 @@ public class HRegion implements HeapSize
        }
     }
 
+    Scan scan = new Scan(get);
+
     RegionScanner scanner = null;
     try {
       scanner = getScanner(scan);



Mime
View raw message