diff --git a/src/main/java/org/apache/hadoop/hbase/master/MasterFileSystem.java b/src/main/java/org/apache/hadoop/hbase/master/MasterFileSystem.java index 1675d8928fa..74f676d0ebd 100644 --- a/src/main/java/org/apache/hadoop/hbase/master/MasterFileSystem.java +++ b/src/main/java/org/apache/hadoop/hbase/master/MasterFileSystem.java @@ -202,7 +202,7 @@ public class MasterFileSystem { List serverNames = new ArrayList(); 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);