hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Chu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-6966) Add additional unit tests for encryption zones
Date Fri, 29 Aug 2014 01:05:08 GMT

     [ 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.1.patch

Submitting patch that adds more unit tests for encryption zones.

* 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.

I can merge some of these tests to existing tests to save on MiniDFSCluster spin up / shutdown
time if preferable.


> 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
>            Reporter: Stephen Chu
>            Assignee: Stephen Chu
>         Attachments: HDFS-6966.1.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.2#6252)

Mime
View raw message