HBASE-13847 getWriteRequestCount function in HRegionServer uses int variable to return the count (Abhilash)

This commit is contained in:
stack 2015-06-08 20:35:43 -07:00
parent 3dfccbd424
commit 14db858a28
1 changed files with 1 additions and 1 deletions

View File

@ -1109,7 +1109,7 @@ public class HRegionServer extends HasThread implements
* @return Current write count for all online regions.
*/
private long getWriteRequestCount() {
int writeCount = 0;
long writeCount = 0;
for (Map.Entry<String, Region> e: this.onlineRegions.entrySet()) {
writeCount += e.getValue().getWriteRequestsCount();
}