hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apurt...@apache.org
Subject [3/3] git commit: HBASE-11487 ScanResponse carries non-zero cellblock for CloseScanRequest (Shengzhe Yao)
Date Fri, 11 Jul 2014 20:07:14 GMT
HBASE-11487 ScanResponse carries non-zero cellblock for CloseScanRequest (Shengzhe Yao)


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/0c97649b
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/0c97649b
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/0c97649b

Branch: refs/heads/branch-1
Commit: 0c97649b6f3cedddc667b11316ff4c69c397b5a0
Parents: 94e29bd
Author: Andrew Purtell <apurtell@apache.org>
Authored: Fri Jul 11 13:06:48 2014 -0700
Committer: Andrew Purtell <apurtell@apache.org>
Committed: Fri Jul 11 13:06:48 2014 -0700

----------------------------------------------------------------------
 .../java/org/apache/hadoop/hbase/regionserver/RSRpcServices.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/0c97649b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RSRpcServices.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RSRpcServices.java
b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RSRpcServices.java
index 26233b5..e1b8e3f 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RSRpcServices.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RSRpcServices.java
@@ -1866,7 +1866,7 @@ public class RSRpcServices implements HBaseRPCErrorHandler,
       if (request.hasCloseScanner()) {
         closeScanner = request.getCloseScanner();
       }
-      int rows = 1;
+      int rows = closeScanner ? 0 : 1;
       if (request.hasNumberOfRows()) {
         rows = request.getNumberOfRows();
       }


Mime
View raw message