guojunhao created HDFS-16716:
--------------------------------

             Summary: Improve appendToFile command: support appending on file 
with new block
                 Key: HDFS-16716
                 URL: https://issues.apache.org/jira/browse/HDFS-16716
             Project: Hadoop HDFS
          Issue Type: Improvement
            Reporter: guojunhao


HDFS client DistributedFileSystem#append supports appending to a file with 
optional create flags.

However, appendToFile command only supports the default create flag APPEND so 
that append on EC file without NEW_BLOCK create flag is not supported.

Thus, it's necessary to improve appendToFile command by adding option -n for 
it. Option -n represents that use NEW_BLOCK create flag while appending file.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org

Reply via email to