hadoop/hadoop-tools/hadoop-distcp/src/test
Mukund Thakur 51c64b357d
HDFS-13660. DistCp job fails when new data is appended in the file while the DistCp copy job is running
This uses the length of the file known at the start of the copy to determine the amount of data to copy.

* If a file is appended to during the copy, the original bytes are copied.
* If a file is truncated during a copy, or the attempt to read the data fails with a truncated stream,
  distcp will now fail. Until now these failures were not detected.

Contributed by Mukund Thakur.

Change-Id: I576a49d951fa48d37a45a7e4c82c47488aa8e884
2019-09-24 11:23:24 +01:00
..
java/org/apache/hadoop/tools HDFS-13660. DistCp job fails when new data is appended in the file while the DistCp copy job is running 2019-09-24 11:23:24 +01:00
resources HADOOP-15209. DistCp to eliminate needless deletion of files under already-deleted directories. 2018-03-15 18:05:14 +00:00