HFileLink link = new HFileLink(inputRoot, inputArchive, path);
return link.getFileStatus(inputFs);
} else if (isHLogLinkPath(path)) {
String serverName = path.getParent().getName();
String logName = path.getName();
return new HLogLink(inputRoot, serverName, logName).getFileStatus(inputFs);
}
return inputFs.getFileStatus(path);
} catch (FileNotFoundException e) {
context.getCounter(Counter.MISSING_FILES).increment(1);
LOG.error("Unable to get the status for source file=" + path, e);