XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.7.0
    • datanode, namenode
    • None
    • Reviewed

    Description

      Systems with transaction support often need to undo changes made to the underlying storage when a transaction is aborted. Currently HDFS does not support truncate (a standard Posix operation) which is a reverse operation of append, which makes upper layer applications use ugly workarounds (such as keeping track of the discarded byte range per file in a separate metadata store, and periodically running a vacuum process to rewrite compacted files) to overcome this limitation of HDFS.

      Attachments

        1. HDFS_truncate_semantics_Mar15.pdf
          265 kB
          Lei Chang
        2. HDFS_truncate_semantics_Mar21.pdf
          189 kB
          Lei Chang
        3. HDFS-3107.patch
          50 kB
          Plamen Jeliazkov
        4. HDFS_truncate.pdf
          337 kB
          Konstantin Shvachko
        5. HDFS-3107.patch
          50 kB
          Plamen Jeliazkov
        6. HDFS-3107.patch
          50 kB
          Plamen Jeliazkov
        7. HDFS-3107.patch
          75 kB
          Plamen Jeliazkov
        8. HDFS-3107.patch
          83 kB
          Plamen Jeliazkov
        9. HDFS_truncate.pdf
          473 kB
          Konstantin Shvachko
        10. HDFS-3107.patch
          58 kB
          Plamen Jeliazkov
        11. HDFS-3107.patch
          59 kB
          Konstantin Shvachko
        12. HDFS-3107.008.patch
          36 kB
          Colin McCabe
        13. HDFS-3107.patch
          59 kB
          Plamen Jeliazkov
        14. HDFS-3107-HDFS-7056-combined.patch
          124 kB
          Konstantin Shvachko
        15. HDFS_truncate.pdf
          479 kB
          Konstantin Shvachko
        16. HDFS-3107.patch
          60 kB
          Konstantin Shvachko
        17. HDFS-3107.patch
          59 kB
          Konstantin Shvachko
        18. HDFS-3107.patch
          60 kB
          Konstantin Shvachko
        19. HDFS-3107-13.patch
          59 kB
          Konstantin Shvachko
        20. HDFS-3107-14.patch
          59 kB
          Konstantin Shvachko
        21. HDFS-3107-15.patch
          59 kB
          Konstantin Shvachko
        22. editsStored
          6 kB
          Plamen Jeliazkov
        23. editsStored.xml
          30 kB
          Plamen Jeliazkov
        24. HDFS-3107.15_branch2.patch
          59 kB
          Plamen Jeliazkov
        25. HDFS_truncate.pdf
          478 kB
          Konstantin Shvachko
        26. HDFS_truncate_semantics_Mar21.pdf
          13 kB
          Tsz-wo Sze
        27. HDFS_truncate_semantics_Mar15.pdf
          13 kB
          Tsz-wo Sze

        Issue Links

          Activity

            People

              zero45 Plamen Jeliazkov
              lei_chang Lei Chang
              Votes:
              4 Vote for this issue
              Watchers:
              50 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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