hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r1166527 - in /hbase/trunk: CHANGES.txt src/main/java/org/apache/hadoop/hbase/client/HTableInterface.java
Date Thu, 08 Sep 2011 05:06:29 GMT
Author: stack
Date: Thu Sep  8 05:06:29 2011
New Revision: 1166527

URL: http://svn.apache.org/viewvc?rev=1166527&view=rev
Log:
HBASE-4296 Deprecate HTable[Interface].getRowOrBefore(...)

Modified:
    hbase/trunk/CHANGES.txt
    hbase/trunk/src/main/java/org/apache/hadoop/hbase/client/HTableInterface.java

Modified: hbase/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hbase/trunk/CHANGES.txt?rev=1166527&r1=1166526&r2=1166527&view=diff
==============================================================================
--- hbase/trunk/CHANGES.txt (original)
+++ hbase/trunk/CHANGES.txt Thu Sep  8 05:06:29 2011
@@ -475,6 +475,7 @@ Release 0.91.0 - Unreleased
    HBASE-4315  RS requestsPerSecond counter seems to be off (subramanian raghunathan)
    HBASE-4289  Move spinlock to SingleSizeCache rather than the slab allocator
                (Li Pi)
+   HBASE-4296  Deprecate HTable[Interface].getRowOrBefore(...) (Lars Hofhansl)
 
   NEW FEATURES
    HBASE-2001  Coprocessors: Colocate user code with regions (Mingjie Lai via

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/client/HTableInterface.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/client/HTableInterface.java?rev=1166527&r1=1166526&r2=1166527&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/client/HTableInterface.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/client/HTableInterface.java Thu Sep
 8 05:06:29 2011
@@ -136,6 +136,12 @@ public interface HTableInterface {
    * @param family Column family to include in the {@link Result}.
    * @throws IOException if a remote or network exception occurs.
    * @since 0.20.0
+   * 
+   * @deprecated As of version 0.92 this method is deprecated without
+   * replacement.   
+   * getRowOrBefore is used internally to find entries in .META. and makes
+   * various assumptions about the table (which are true for .META. but not
+   * in general) to be efficient.
    */
   Result getRowOrBefore(byte[] row, byte[] family) throws IOException;
 



Mime
View raw message