public static List<BackupInfo> getHistory(Configuration conf, int n, Path backupRootPath,
    BackupInfo.Filter... filters) throws IOException {
    List<BackupInfo> infos = getHistory(conf, backupRootPath);
    List<BackupInfo> ret = new ArrayList<>();
    for (BackupInfo info : infos) {
      if (ret.size() == n) {
        break;
      }
      boolean passed = true;
      for (int i = 0; i < filters.length; i++) {
        if (!filters[i].apply(info)) {
          passed = false;
          break;
        }
      }
      if (passed) {
        ret.add(info);
      }
    }
    return ret;
  }
Given the backup root dir and the backup id, return the log file location for an incremental
backup.
@param backupRootDir backup root directory
@param backupId      backup id
@return logBackupDir: ".../user/biadmin/backup1/WALs/backup_1396650096738"
hbase-backup/src/main/java/org/apache/hadoop/hbase/backup/util/BackupUtils.java