HBASE-19332 DumpReplicationQueues misreports total WAL size

This commit is contained in:
Gary Helmling 2017-11-22 11:42:01 -08:00 committed by Gary Helmling
parent f6e93520ba
commit 20d811121f
1 changed files with 1 additions and 1 deletions

View File

@ -370,7 +370,7 @@ public class DumpReplicationQueues extends Configured implements Tool {
* return total size in bytes from a list of WALs * return total size in bytes from a list of WALs
*/ */
private long getTotalWALSize(FileSystem fs, List<String> wals, String server) throws IOException { private long getTotalWALSize(FileSystem fs, List<String> wals, String server) throws IOException {
int size = 0; long size = 0;
FileStatus fileStatus; FileStatus fileStatus;
for (String wal : wals) { for (String wal : wals) {