You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by GitBox <gi...@apache.org> on 2019/11/03 01:39:54 UTC

[GitHub] [hbase] busbey commented on a change in pull request #791: HBASE-23247 [hbck2] Schedule SCPs for 'Unknown Servers'

busbey commented on a change in pull request #791: HBASE-23247 [hbck2] Schedule SCPs for 'Unknown Servers'
URL: https://github.com/apache/hbase/pull/791#discussion_r341832067
 
 

 ##########
 File path: hbase-server/src/main/java/org/apache/hadoop/hbase/master/MasterRpcServices.java
 ##########
 @@ -2706,7 +2707,13 @@ private boolean containMetaWals(ServerName serverName) throws IOException {
         AbstractFSWALProvider.getWALDirectoryName(serverName.toString()));
     Path splitDir = logDir.suffix(AbstractFSWALProvider.SPLITTING_EXT);
     Path checkDir = master.getFileSystem().exists(splitDir) ? splitDir : logDir;
-    return master.getFileSystem().listStatus(checkDir, META_FILTER).length > 0;
+    try {
+      return master.getFileSystem().listStatus(checkDir, META_FILTER).length > 0;
+    } catch (FileNotFoundException fnfe) {
+      // If no files, then we don't contain metas; was failing schedule of
 
 Review comment:
   Log a message since this is a soft signal of something wonky.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services