[jira] [Comment Edited] (HDFS-10906) Add unit tests for Trash with HDFS encryption zones

2016-10-18 Thread Xiaoyu Yao (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-10906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15586740#comment-15586740
 ] 

Xiaoyu Yao edited comment on HDFS-10906 at 10/18/16 9:43 PM:
-

Thanks [~hanishakoneru] for the contribution. I've validated the failed Jenkins 
test org.apache.hadoop.hdfs.server.datanode.TestDirectoryScanner does not repro 
locally and commit the patch to trunk, branch-2 and branch-2.8.


was (Author: xyao):
Thanks [~hanishakoneru] for the contribution. I've commit the patch to trunk, 
branch-2 and branch-2.8.

> Add unit tests for Trash with HDFS encryption zones
> ---
>
> Key: HDFS-10906
> URL: https://issues.apache.org/jira/browse/HDFS-10906
> Project: Hadoop HDFS
>  Issue Type: Sub-task
>  Components: encryption
>Affects Versions: 2.8.0
>Reporter: Xiaoyu Yao
>Assignee: Hanisha Koneru
> Fix For: 2.8.0, 3.0.0-alpha2
>
> Attachments: HDFS-10906.000.patch, HDFS-10906.001.patch, 
> HDFS-10906.002.patch, HDFS-10906.003.patch, HDFS-10906.004.patch, 
> HDFS-10906.005.patch
>
>
> The goal is to improve unit test coverage for HDFS trash with encryption zone 
> especially under Kerberos environment. The current unit test 
> TestEncryptionZones#testEncryptionZonewithTrash() has limited coverage on 
> non-Kerberos case.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Comment Edited] (HDFS-10906) Add unit tests for Trash with HDFS encryption zones

2016-09-26 Thread Xiaoyu Yao (JIRA)

[ 
https://issues.apache.org/jira/browse/HDFS-10906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15525143#comment-15525143
 ] 

Xiaoyu Yao edited comment on HDFS-10906 at 9/27/16 5:50 AM:


Below is a proposed test plan for list of test cases to add:

# Trash Checkpoint within the encryption zone
# Trash Checkpoint outside the encryption zone when the whole encryption is 
deleted and moved.
# Trash expunge within the encryption zone
# Trash expunge outside the encryption zone
# Delete file/directory within the encryption zone (Kerberos off)
# Delete file/directory within the encryption zone (Kerberos on)
# Delete directory with/wo -skipTrash option
# Delete empty directory without -skipTrash option
# Delete entire encryption zone with different test users
# Delete file/directory from Trash within the encryption zone
# Namenode restart after Delete file/directory within the encryption zone



was (Author: xyao):
Below is a proposed test plan for list of test cases to add:

# Trash Checkpoint within the encryption zone
# Trash Checkpoint outside the encryption zone when the whole encryption is 
deleted and moved.
# Trash expunge within the encryption zone
# Trash expunge outside the encryption zone
# Delete file/directory within the encryption zone (Kerberos off)
# Delete file/directory within the encryption zone (Kerberos on)
# Delete directory with/wo -skipTrash option
# Delete empty directory without -skipTrash option
# Delete entire encryption zone with different test users
# Delete file/directory from Trash within the encryption zone


> Add unit tests for Trash with HDFS encryption zones
> ---
>
> Key: HDFS-10906
> URL: https://issues.apache.org/jira/browse/HDFS-10906
> Project: Hadoop HDFS
>  Issue Type: Sub-task
>  Components: encryption
>Affects Versions: 2.8.0
>Reporter: Xiaoyu Yao
>
> The goal is to improve unit test coverage for HDFS trash with encryption zone 
> especially under Kerberos environment. The current unit test 
> TestEncryptionZones#testEncryptionZonewithTrash() has limited coverage on 
> non-Kerberos case.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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