HBASE-1185 wrong request/sec in the gui reporting wrong

git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@750463 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jean-Daniel Cryans 2009-03-05 14:09:29 +00:00
parent c407ff336f
commit 19491b5a20
2 changed files with 2 additions and 1 deletions

View File

@ -31,6 +31,7 @@ Release 0.20.0 - Unreleased
HBASE-1211 NPE in retries exhausted exception
HBASE-1233 Transactional fixes: Overly conservative scan read-set,
potential CME (Clint Morgan via Stack)
HBASE-1185 wrong request/sec in the gui reporting wrong
IMPROVEMENTS
HBASE-1089 Add count of regions on filesystem to master UI; add percentage

View File

@ -1580,7 +1580,6 @@ public class HRegionServer implements HConstants, HRegionInterface, HBaseRPCErro
public RowResult[] next(final long scannerId, int nbRows) throws IOException {
checkOpen();
requestCount.incrementAndGet();
ArrayList<RowResult> resultSets = new ArrayList<RowResult>();
try {
String scannerName = String.valueOf(scannerId);
@ -1590,6 +1589,7 @@ public class HRegionServer implements HConstants, HRegionInterface, HBaseRPCErro
}
this.leases.renewLease(scannerName);
for(int i = 0; i < nbRows; i++) {
requestCount.incrementAndGet();
// Collect values to be returned here
HbaseMapWritable<byte [], Cell> values
= new HbaseMapWritable<byte [], Cell>();