Description
Followon from HADOOP-16107. FilterFS passes through the concat operation, and checksum FS doesn't override that call -so files created through concat do not have checksums.
If people are using a checksummed fs directly with the expectations that they will, that expectation is not being met.
What to do?
- fail always?
- fail if checksums are enabled?
- try and implement the concat operation from raw local up at the checksum level
append() just gives up always; doing the same for concat would be the simplest. Again, brings us back to "need a way to see if an FS supports a feature before invocation", here checksum fs would reject append and concat
Attachments
Issue Links
- is caused by
-
HDFS-13186 [PROVIDED Phase 2] Multipart Uploader API
- Resolved
- is related to
-
HDFS-13934 Multipart uploaders to be created through API call to FileSystem/FileContext, not service loader
- Resolved
- relates to
-
HADOOP-16107 FilterFileSystem doesn't wrap all create() or new builder calls; may skip CRC logic
- Resolved
-
HADOOP-15691 Add PathCapabilities to FS and FC to complement StreamCapabilities
- Resolved
- links to