Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-16716

Improve appendToFile command: support appending on file with new block

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Minor
    • Resolution: Resolved
    • 3.4.0, 3.3.6
    • 3.4.0, 3.3.6
    • fs
    • Reviewed

    Description

      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.

      Attachments

        Activity

          People

            M1eyu2018 M1eyu2018
            guojunhao guojunhao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h
                1h