hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r1171648 - /hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/HBaseFsck.java
Date Fri, 16 Sep 2011 16:25:26 GMT
Author: stack
Date: Fri Sep 16 16:25:26 2011
New Revision: 1171648

URL: http://svn.apache.org/viewvc?rev=1171648&view=rev
Log:
HBASE-4322 [hbck] Update checkIntegrity/checkRegionChain to present more accurate region split
problem 

Modified:
    hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/HBaseFsck.java

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/HBaseFsck.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/HBaseFsck.java?rev=1171648&r1=1171647&r2=1171648&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/HBaseFsck.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/util/HBaseFsck.java Fri Sep 16 16:25:26
2011
@@ -612,7 +612,7 @@ public class HBaseFsck {
     }
 
     public int getNumRegions() {
-      return sc.getStarts().size();
+      return sc.getStarts().size() + backwards.size();
     }
 
     /**



Mime
View raw message