hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject hbase git commit: HBASE-19332 DumpReplicationQueues misreports total WAL size
Date Thu, 23 Nov 2017 02:30:29 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1.3 b7f9ac0b6 -> 276052be9


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/276052be
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/276052be
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/276052be

Branch: refs/heads/branch-1.3
Commit: 276052be990e439d74d9d7871e1242dd1b1c8de7
Parents: b7f9ac0
Author: Gary Helmling <garyh@apache.org>
Authored: Wed Nov 22 11:42:01 2017 -0800
Committer: Gary Helmling <gmh@fb.com>
Committed: Wed Nov 22 18:28:15 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/276052be/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 b086cdb..4c273dc 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
@@ -320,7 +320,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) {


Mime
View raw message