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 c19bc6d6e0
commit c62b396f9f
1 changed files with 1 additions and 1 deletions

View File

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