hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r833529 - in /hadoop/hbase/branches/0.20/src: java/org/apache/hadoop/hbase/regionserver/GetDeleteTracker.java test/org/apache/hadoop/hbase/regionserver/TestGetDeleteTracker.java
Date Fri, 06 Nov 2009 19:11:40 GMT
Author: stack
Date: Fri Nov  6 19:11:40 2009
New Revision: 833529

URL: http://svn.apache.org/viewvc?rev=833529&view=rev
Log:
HBASE-1957 Get-s can't set a Filter

Modified:
    hadoop/hbase/branches/0.20/src/java/org/apache/hadoop/hbase/regionserver/GetDeleteTracker.java
    hadoop/hbase/branches/0.20/src/test/org/apache/hadoop/hbase/regionserver/TestGetDeleteTracker.java

Modified: hadoop/hbase/branches/0.20/src/java/org/apache/hadoop/hbase/regionserver/GetDeleteTracker.java
URL: http://svn.apache.org/viewvc/hadoop/hbase/branches/0.20/src/java/org/apache/hadoop/hbase/regionserver/GetDeleteTracker.java?rev=833529&r1=833528&r2=833529&view=diff
==============================================================================
--- hadoop/hbase/branches/0.20/src/java/org/apache/hadoop/hbase/regionserver/GetDeleteTracker.java
(original)
+++ hadoop/hbase/branches/0.20/src/java/org/apache/hadoop/hbase/regionserver/GetDeleteTracker.java
Fri Nov  6 19:11:40 2009
@@ -378,7 +378,7 @@
    * Fields are public because they are accessed often, directly, and only
    * within this class.
    */
-  protected class Delete {
+  protected static class Delete {
     byte [] buffer;
     int qualifierOffset;
     int qualifierLength;

Modified: hadoop/hbase/branches/0.20/src/test/org/apache/hadoop/hbase/regionserver/TestGetDeleteTracker.java
URL: http://svn.apache.org/viewvc/hadoop/hbase/branches/0.20/src/test/org/apache/hadoop/hbase/regionserver/TestGetDeleteTracker.java?rev=833529&r1=833528&r2=833529&view=diff
==============================================================================
--- hadoop/hbase/branches/0.20/src/test/org/apache/hadoop/hbase/regionserver/TestGetDeleteTracker.java
(original)
+++ hadoop/hbase/branches/0.20/src/test/org/apache/hadoop/hbase/regionserver/TestGetDeleteTracker.java
Fri Nov  6 19:11:40 2009
@@ -78,23 +78,23 @@
 
     //ts1
     ts1 = System.nanoTime();
-    del10 = dt.new Delete(col1, 0, col1Len, del, ts1);
-    del11 = dt.new Delete(col2, 0, col2Len, del, ts1);
-    delQf10 = dt.new Delete(col1, 0, col1Len, delCol, ts1);
-    delQf11 = dt.new Delete(col2, 0, col2Len, delCol, ts1);
-    delFam10 = dt.new Delete(empty, 0, 0, delFam, ts1);
+    del10 = new Delete(col1, 0, col1Len, del, ts1);
+    del11 = new Delete(col2, 0, col2Len, del, ts1);
+    delQf10 = new Delete(col1, 0, col1Len, delCol, ts1);
+    delQf11 = new Delete(col2, 0, col2Len, delCol, ts1);
+    delFam10 = new Delete(empty, 0, 0, delFam, ts1);
     
     //ts2
     ts2 = System.nanoTime();
-    del20 = dt.new Delete(col1, 0, col1Len, del, ts2);
-    del21 = dt.new Delete(col2, 0, col2Len, del, ts2);
-    delQf20 = dt.new Delete(col1, 0, col1Len, delCol, ts2);
-    delQf21 = dt.new Delete(col2, 0, col2Len, delCol, ts2);
-    delFam20 = dt.new Delete(empty, 0, 0, delFam, ts1);
+    del20 = new Delete(col1, 0, col1Len, del, ts2);
+    del21 = new Delete(col2, 0, col2Len, del, ts2);
+    delQf20 = new Delete(col1, 0, col1Len, delCol, ts2);
+    delQf21 = new Delete(col2, 0, col2Len, delCol, ts2);
+    delFam20 = new Delete(empty, 0, 0, delFam, ts1);
     
     //ts3
     ts3 = System.nanoTime();
-    del30 = dt.new Delete(col1, 0, col1Len, del, ts3);
+    del30 = new Delete(col1, 0, col1Len, del, ts3);
   }
   
   public void testUpdate_CompareDeletes() {



Mime
View raw message