smengcl commented on pull request #3078: URL: https://github.com/apache/hadoop/pull/3078#issuecomment-857033639
The cause of the UT failure `testRenameDirAndDeleteSnapshot_1` is that features in the stream are returned as **references**. While this is fine for AclFeature or XAttrFeature. A `DirectoryWithQuotaFeature` will get updated when namespace or space usage has changed. Hence the snapshot inode sharing a same `DirectoryWithQuotaFeature` with the original dir inode becomes a problem in this test case where it compares the quota usage before and after NN restart. Updated the patch to create copy of the `DirectoryWithQuotaFeature`. -- 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: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
