Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.0.0-alpha1
-
None
-
None
-
Reviewed
Description
Append should be easy if we have variable length block support from HDFS-3689, i.e., the new data will be appended to a new block. We need to revisit whether and how to support appending data to the original last block.
1. Append to a closed striped file, with NEW_BLOCK flag enabled (this)
2. Append to a under-construction striped file, with NEW_BLOCK flag enabled (HDFS-9173)
3. Append to a striped file, by appending to last block group (follow-on)
This jira attempts to implement the #1, and also track #2, #3.
Attachments
Attachments
Issue Links
- blocks
-
HDFS-14581 Appending to EC files crashes NameNode
- Resolved
- is duplicated by
-
HDFS-7783 Support appending to a striping layout file
- Resolved
-
HDFS-11236 Erasure Coding cann't support appendToFile
- Resolved
- is required by
-
HDFS-15398 EC: hdfs client hangs due to exception during addBlock
- Resolved
- relates to
-
HDFS-16730 Update the doc that append to EC files is supported
- Resolved