HBASE-19332 DumpReplicationQueues misreports total WAL size
This commit is contained in:
parent
f6e93520ba
commit
20d811121f
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue