static String getWALNameFromStrPath(String path) {
    int slashIndex = path.lastIndexOf('/');
    return slashIndex != -1 ? path.substring(slashIndex + 1) : path;
  }
@return Return the WAL filename when given a Path-as-a-string; i.e. return the last path
        component only.
hbase-server/src/main/java/org/apache/hadoop/hbase/master/procedure/SplitWALProcedure.java