You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2011/05/02 20:10:36 UTC

svn commit: r1098702 - in /hbase/trunk: CHANGES.txt src/main/java/org/apache/hadoop/hbase/client/HTableInterface.java

Author: stack
Date: Mon May  2 18:10:36 2011
New Revision: 1098702

URL: http://svn.apache.org/viewvc?rev=1098702&view=rev
Log:
HBASE-3670 Fix error handling in get(List<Get> gets)

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=1098702&r1=1098701&r2=1098702&view=diff
==============================================================================
--- hbase/trunk/CHANGES.txt (original)
+++ hbase/trunk/CHANGES.txt Mon May  2 18:10:36 2011
@@ -196,6 +196,8 @@ Release 0.91.0 - Unreleased
                framework (Mingjie Lai)
    HBASE-1512  Support aggregate functions (Himanshu Vashishtha)
    HBASE-3796  Per-Store Enties in Compaction Queue
+   HBASE-3670  Fix error handling in get(List<Get> gets)
+               (Harsh J Chouraria)
 
   TASKS
    HBASE-3559  Move report of split to master OFF the heartbeat channel

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=1098702&r1=1098701&r2=1098702&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 Mon May  2 18:10:36 2011
@@ -117,8 +117,8 @@ public interface HTableInterface {
    * @return The data coming from the specified rows, if it exists.  If the row
    *         specified doesn't exist, the {@link Result} instance returned won't
    *         contain any {@link KeyValue}, as indicated by {@link Result#isEmpty()}.
-   *         A null in the return array means that the get operation for that
-   *         Get failed, even after retries.
+   *         If there are any failures even after retries, there will be a null in
+   *         the results array for those Gets, AND an exception will be thrown.
    * @throws IOException if a remote or network exception occurs.
    *
    * @since 0.90.0