hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apurt...@apache.org
Subject [2/3] git commit: HBASE-11487 ScanResponse carries non-zero cellblock for CloseScanRequest (Shengzhe Yao)
Date Fri, 11 Jul 2014 20:07:13 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/f2a40fc0
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/f2a40fc0
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/f2a40fc0

Branch: refs/heads/master
Commit: f2a40fc058d013099be6090d5360cd8a70fa8cdb
Parents: dd9f1cb
Author: Andrew Purtell <apurtell@apache.org>
Authored: Fri Jul 11 13:06:42 2014 -0700
Committer: Andrew Purtell <apurtell@apache.org>
Committed: Fri Jul 11 13:06:42 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/f2a40fc0/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