HBASE-11487 ScanResponse carries non-zero cellblock for CloseScanRequest (Shengzhe Yao)

This commit is contained in:
Andrew Purtell 2014-07-11 13:06:42 -07:00
parent dd9f1cbf3a
commit f2a40fc058
1 changed files with 1 additions and 1 deletions

View File

@ -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();
}