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 00:40:13 GMT
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 <garyh@apache.org>
Authored: Wed Nov 22 11:42:01 2017 -0800
Committer: Gary Helmling <gmh@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) {


Mime
View raw message