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