smengcl opened a new pull request #3078:
URL: https://github.com/apache/hadoop/pull/3078


   https://issues.apache.org/jira/browse/HDFS-16055
   
   Quota feature is not preserved during snapshot creation, this causes 
`INodeDirectory#metadataEquals` to ALWAYS return `true`. Therefore, `hdfs 
snapshotDiff` will always return the snapshot root as modified, even if the 
quota is set before the snapshot creation:
   
   ```bash
   $ hdfs snapshotDiff /diffTest s0 .
   Difference between snapshot s0 and current directory under directory 
/diffTest:
   M    .
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to