You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ga...@apache.org on 2017/11/23 00:40:13 UTC

hbase git commit: HBASE-19332 DumpReplicationQueues misreports total WAL size

Repository: hbase
Updated Branches:
  refs/heads/master 6f0c9fbfd -> cdc2bb17f


HBASE-19332 DumpReplicationQueues misreports total WAL size


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/cdc2bb17
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/cdc2bb17
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/cdc2bb17

Branch: refs/heads/master
Commit: cdc2bb17ff38dcbd273cf501aea565006e995a06
Parents: 6f0c9fb
Author: Gary Helmling <ga...@apache.org>
Authored: Wed Nov 22 11:42:01 2017 -0800
Committer: Gary Helmling <gm...@fb.com>
Committed: Wed Nov 22 16:25:12 2017 -0800

----------------------------------------------------------------------
 .../hbase/replication/regionserver/DumpReplicationQueues.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/cdc2bb17/hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/DumpReplicationQueues.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/DumpReplicationQueues.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/DumpReplicationQueues.java
index fdb5559..ff5e5c7 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/DumpReplicationQueues.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/DumpReplicationQueues.java
@@ -390,7 +390,7 @@ public class DumpReplicationQueues extends Configured implements Tool {
    *  return total size in bytes from a list of WALs
    */
   private long getTotalWALSize(FileSystem fs, List<String> wals, String server) throws IOException {
-    int size = 0;
+    long size = 0;
     FileStatus fileStatus;
 
     for (String wal : wals) {