[ https://issues.apache.org/jira/browse/HDFS-6966?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stephen Chu updated HDFS-6966: ------------------------------ Attachment: HDFS-6966.2.patch Adding new patch with more tests. In the most recent patch we: * Add HA test to verify standby NN tracks encryption zones. * Assert null when calling getEncryptionZoneForPath on a nonexistent path. * Verify success of renaming a dir and file within an encryption zone * Run fsck on a system with encryption zones * Add more snapshot unit testing. In particular, after snapshotting an encryption zone, remove the encryption zone and recreate the dir and take a snapshot. Verify that the new snapshot does not have an encryption zone. Delete the snapshots out of order and verify that the remaining snapshots have the correct encryption zone paths. * Add tests for symlinks within the same encryption zone and within different encryption zones. * Add test to run the OfflineImageViewer on a system of encryption zones. Again, if it's better, I can merge some tests to save on MiniDFSCluster spin up and shutdown time. > Add additional unit tests for encryption zones > ---------------------------------------------- > > Key: HDFS-6966 > URL: https://issues.apache.org/jira/browse/HDFS-6966 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: encryption > Affects Versions: 3.0.0, 2.6.0 > Reporter: Stephen Chu > Assignee: Stephen Chu > Attachments: HDFS-6966.1.patch, HDFS-6966.2.patch > > > There are some more unit tests that can be added for test encryption zones. > For example, more encryption zone + snapshot tests, running fsck on > encryption zones, and more. -- This message was sent by Atlassian JIRA (v6.3.4#6332)