private String getCurrentPathStat() {
    StringBuilder sb = new StringBuilder();
    if (currentPath != null) {
      sb.append("currently replicating from: ").append(currentPath).append(" at position: ")
        .append(currentPositionOfEntry).append("\n");
    } else {
      sb.append("no replication ongoing, waiting for new log");
    }
    return sb.toString();
  }
Returns the {@link Path} of the current WAL
hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/WALEntryStream.java