Description
When running hadoop fs -put, FsShell creates a .COPYING. file on the target directory, and then renames it to target file when the write is done. However, for some targeted systems, such as S3, Azure and Swift, a partial failure write request (i.e., PUT) has not side effect, while the rename operation is expensive.
FileSystem should expose some characteristics so that the operation such as CommandWithDestination#copyStreamToTarget() can detect and choose the right way to do.
Attachments
Attachments
Issue Links
- duplicates
-
HADOOP-9565 Add a Blobstore interface to add to blobstore FileSystems
- Patch Available
- is duplicated by
-
HADOOP-11281 Add flag to fs.shell to skip _COPYING_ file
- Resolved
- is related to
-
HADOOP-9565 Add a Blobstore interface to add to blobstore FileSystems
- Patch Available