hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r1135384 - /hbase/trunk/src/main/java/org/apache/hadoop/hbase/master/MasterFileSystem.java
Date Tue, 14 Jun 2011 05:37:11 GMT
Author: stack
Date: Tue Jun 14 05:37:11 2011
New Revision: 1135384

URL: http://svn.apache.org/viewvc?rev=1135384&view=rev
Log:
HBASE-3963  Schedule all log-spliiting at startup all at once -- reverse test for wals with
no server (was wrong)

Modified:
    hbase/trunk/src/main/java/org/apache/hadoop/hbase/master/MasterFileSystem.java

Modified: hbase/trunk/src/main/java/org/apache/hadoop/hbase/master/MasterFileSystem.java
URL: http://svn.apache.org/viewvc/hbase/trunk/src/main/java/org/apache/hadoop/hbase/master/MasterFileSystem.java?rev=1135384&r1=1135383&r2=1135384&view=diff
==============================================================================
--- hbase/trunk/src/main/java/org/apache/hadoop/hbase/master/MasterFileSystem.java (original)
+++ hbase/trunk/src/main/java/org/apache/hadoop/hbase/master/MasterFileSystem.java Tue Jun
14 05:37:11 2011
@@ -202,7 +202,7 @@ public class MasterFileSystem {
     List<ServerName> serverNames = new ArrayList<ServerName>();
     for (FileStatus status : logFolders) {
       ServerName serverName = new ServerName(status.getPath().getName());
-      if (onlineServers.contains(serverName)) {
+      if (!onlineServers.contains(serverName)) {
         LOG.info("Log folder " + status.getPath() + " doesn't belong " +
           "to a known region server, splitting");
         serverNames.add(serverName);



Mime
View raw message