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

        Issue Links

          Activity

            People

              zero45 Plamen Jeliazkov
              lei_chang Lei Chang
              Votes:
              4 Vote for this issue
              Watchers:
              52 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