You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "guojunhao (Jira)" <ji...@apache.org> on 2022/08/04 03:29:00 UTC

[jira] [Created] (HDFS-16716) Improve appendToFile command: support appending on file with new block

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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org