Source Data
When a replication job runs, ensure that the source directory is not modified.
A file added during replication does not get replicated. If you delete a file during replication, the replication fails.
Additionally, ensure that all files in the directory are closed. Replication fails if source files are open. If you cannot ensure that all source files are closed, you can configure the replication to continue despite errors. Uncheck the Abort on Error option for the HDFS replication.
After the replication completes, you can view the log for the replication to identify opened files. Ensure these files are closed before the next replication occurs.