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 6f0c9fbfd1
commit cdc2bb17ff
1 changed files with 1 additions and 1 deletions

View File

@ -390,7 +390,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) {