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: us...@infra.apache.org With regards, Apache Git Services