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

Charles Lamb commented on HDFS-7139:
------------------------------------

Thanks for handling this Zhe. I think it might be a good idea to actually check 
the FileStatus.isEncrypted() bit on both the dir and the file. Also, it might 
be good to verify that the file and the /.reserved/raw version of the file are 
not equal. DFSTestUtils.verifyFilesNotEqual is useful for that.


> Unit test for creating encryption zone on root path
> ---------------------------------------------------
>
>                 Key: HDFS-7139
>                 URL: https://issues.apache.org/jira/browse/HDFS-7139
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Zhe Zhang
>            Assignee: Zhe Zhang
>            Priority: Minor
>         Attachments: HDFS-7139.patch
>
>




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

Reply via email to