Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-1700

Append to files in HDFS

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.15.1
    • Fix Version/s: 0.19.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Incompatible change, Reviewed
    • Release Note:
      Hide
      Introduced append operation for HDFS files.
      Show
      Introduced append operation for HDFS files.

      Description

      Request for being able to append to files in HDFS has been raised a couple of times on the list of late. For one example, see http://www.nabble.com/HDFS%2C-appending-writes-status-tf3848237.html#a10916193. Other mail describes folks' workarounds because this feature is lacking: e.g. http://www.nabble.com/Loading-data-into-HDFS-tf4200003.html#a12039480 (Later on this thread, Jim Kellerman re-raises the HBase need of this feature). HADOOP-337 'DFS files should be appendable' makes mention of file append but it was opened early in the life of HDFS when the focus was more on implementing the basics rather than adding new features. Interest fizzled. Because HADOOP-337 is also a bit of a grab-bag – it includes truncation and being able to concurrently read/write – rather than try and breathe new life into HADOOP-337, instead, here is a new issue focused on file append. Ultimately, being able to do as the google GFS paper describes – having multiple concurrent clients making 'Atomic Record Append' to a single file would be sweet but at least for a first cut at this feature, IMO, a single client appending to a single HDFS file letting the application manage the access would be sufficent.

        Attachments

        1. 1700_20080606.patch
          14 kB
          Tsz-wo Sze
        2. append.patch
          22 kB
          Ruyue Ma
        3. append3.patch
          55 kB
          Dhruba Borthakur
        4. Appends.doc
          76 kB
          Dhruba Borthakur
        5. Appends.doc
          70 kB
          Dhruba Borthakur
        6. Appends.html
          45 kB
          Dhruba Borthakur
        7. appendtrunk10.patch
          81 kB
          Tsz-wo Sze
        8. appendtrunk11.patch
          80 kB
          Tsz-wo Sze
        9. appendtrunk12.patch
          80 kB
          Tsz-wo Sze
        10. appendtrunk13.patch
          79 kB
          Dhruba Borthakur
        11. appendtrunk13.patch
          79 kB
          Dhruba Borthakur
        12. appendtrunk13.patch
          64 kB
          Dhruba Borthakur
        13. appendtrunk14.patch
          79 kB
          Dhruba Borthakur
        14. appendtrunk14.patch
          80 kB
          Dhruba Borthakur
        15. appendtrunk15.patch
          80 kB
          Dhruba Borthakur
        16. appendtrunk16.patch
          80 kB
          Dhruba Borthakur
        17. appendtrunk6.patch
          73 kB
          Dhruba Borthakur
        18. appendtrunk7.patch
          73 kB
          Dhruba Borthakur
        19. appendtrunk8.patch
          76 kB
          Tsz-wo Sze
        20. appendtrunk9.patch
          79 kB
          Tsz-wo Sze
        21. Grid_HadoopRenumberBlocks.pdf
          74 kB
          Robert Chansler

        Issue Links

          Activity

          $i18n.getText('security.level.explanation', $currentSelection) Viewable by All Users
          Cancel

            People

            • Assignee:
              dhruba Dhruba Borthakur Assign to me
              Reporter:
              stack Michael Stack

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment