Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-3107 HDFS truncate
  3. HDFS-7903

Cannot recover block after truncate and delete snapshot

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 2.7.0
    • datanode, namenode
    • None
    • Reviewed

    Description

      1. Create a file.
      2. Create a snapshot.
      3. Truncate the file in the middle of a block.
      4. Delete the snapshot.

      The block cannot be recovered.

      Attachments

        1. HDFS-7903.1.patch
          4 kB
          Plamen Jeliazkov
        2. HDFS-7903.2.patch
          4 kB
          Plamen Jeliazkov
        3. HDFS-7903.patch
          3 kB
          Plamen Jeliazkov
        4. testMultipleTruncate.patch
          2 kB
          Tsz-wo Sze

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            zero45 Plamen Jeliazkov
            szetszwo Tsz-wo Sze
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment