public static boolean isArchivedLogFile(Path p) {
    String oldLog = Path.SEPARATOR + HConstants.HREGION_OLDLOGDIR_NAME + Path.SEPARATOR;
    return p.toString().contains(oldLog);
  }
Split a path to get the start time For example: 10.20.20.171%3A60020.1277499063250 Could also
be a meta WAL which adds a '.meta' suffix or a synchronous replication WAL which adds a
'.syncrep' suffix. Check.
@param p path to split
@return start time
hbase-server/src/main/java/org/apache/hadoop/hbase/wal/AbstractFSWALProvider.java