[ 
https://issues.apache.org/jira/browse/HDFS-9244?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Zhe Zhang updated HDFS-9244:
----------------------------
    Attachment: HDFS-9244.03.patch

Updating the patch per comments from Xiaoyu and Andrew under HDFS-9688.

I think for both movability check in general, and Trash support in specific, 
what really matters is the *parent EZ* of a path. Instead of getting the EZ of 
a path and checking if the EZ is equal to the path itself, we should just 
directly get the parent EZ.

One caveat is whether we should allow moving the root dir of a nested EZ 
itself. E.g., should {{mv /topEZ/nestedEZ /nesteEZ}} be allowed? How about we 
disallow it in this initial patch, and revisit if such flexibility is asked for?

> Support nested encryption zones
> -------------------------------
>
>                 Key: HDFS-9244
>                 URL: https://issues.apache.org/jira/browse/HDFS-9244
>             Project: Hadoop HDFS
>          Issue Type: New Feature
>          Components: encryption
>            Reporter: Xiaoyu Yao
>            Assignee: Zhe Zhang
>         Attachments: HDFS-9244.00.patch, HDFS-9244.01.patch, 
> HDFS-9244.02.patch, HDFS-9244.03.patch
>
>
> This JIRA is opened to track adding support of nested encryption zone based 
> on [~andrew.wang]'s [comment 
> |https://issues.apache.org/jira/browse/HDFS-8747?focusedCommentId=14654141&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14654141]
>  for certain use cases.



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

Reply via email to