private static String assertArchiveEquality(List<String> expected, List<String> archived) {
    String compare = compareFileLists(expected, archived);
    if (!(expected.size() == archived.size()))
      return "Not the same number of current files\n" + compare;
    if (!expected.equals(archived)) return "Different backup files, but same amount\n" + compare;
    return null;
  }
Compare the archived files to the files in the original directory
@param expected       original files that should have been archived
@param actual         files that were archived
@param fs             {@link FileSystem} on which the archiving took place
@param hasTimedBackup <tt>true</tt> if we expect to find an archive backup directory with a
                      copy of the files in the archive directory (and the original files).
hbase-server/src/test/java/org/apache/hadoop/hbase/util/HFileArchiveTestingUtil.java