if (!ufs.exists(path)) {
LOG.info("Edit Log " + path + " does not exist.");
return 0;
}
LOG.info("currentLogNum passed in was " + currentLogFileNum);
<BUG>int completedLogs = currentLogFileNum;
int numFiles = 1;</BUG>
String completedPath = path.substring(0, path.lastIndexOf("/")) + "/completed";
if (!ufs.exists(completedPath)) {
LOG.info("No completed edit logs to be parsed");

if (!ufs.exists(path)) {
LOG.info("Edit Log " + path + " does not exist.");
return 0;
}
LOG.info("currentLogNum passed in was " + currentLogFileNum);
int completedLogs = currentLogFileNum;
mBackUpLogStartNum = currentLogFileNum;
int numFiles = 1;
String completedPath = path.substring(0, path.lastIndexOf("/")) + "/completed";
if (!ufs.exists(completedPath)) {
LOG.info("No completed edit logs to be parsed");
