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

Quota is not preserved in snapshot INode

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

      Description

      Quota feature is not preserved during snapshot creation, this causes INodeDirectory#metadataEquals to ALWAYS return true. Therefore, snapshotDiff will ALWAYS return the snapshot root as modified, even if the quota is set before the snapshot creation:

      $ hdfs snapshotDiff /diffTest s0 .
      Difference between snapshot s0 and current directory under directory /diffTest:
      M	.
      

        Attachments

          Activity

            People

            • Assignee:
              smeng Siyao Meng
              Reporter:
              smeng Siyao Meng

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

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

                  Issue deployment