hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiaoyu Yao (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-11723) Should log a warning message when users try to make certain directories encryption zone
Date Mon, 01 May 2017 23:02:04 GMT

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

Xiaoyu Yao commented on HDFS-11723:

[~andrew.wang], thanks for the linked document. This seems to assume that all the user X's
file stays under /user/X. Either or all encrypted or all non-encrypted. Mixed encrypted and
unencrypted deletion will not work with trash over CLI for unencrypted files.  

Our recommendation for encrypted app data should be /apps/hive, etc which are outside /user

This way, the normal unencrypted files of user hive can still use the trash feature over CLI
even though /apps/hive is encrypted.

> Should log a warning message when users try to make certain directories encryption zone
> ---------------------------------------------------------------------------------------
>                 Key: HDFS-11723
>                 URL: https://issues.apache.org/jira/browse/HDFS-11723
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: encryption, hdfs-client
>            Reporter: Chen Liang
>            Assignee: Chen Liang
>            Priority: Minor
> If a user tries to make the entire /user directory an encryption zone, and if trash is
enabled, there will be problem when the user tries to delete unencrypted files outside /user.
The problem will happen even with the fix in HDFS-8831. So we should log a WARN message when
users try to make such directories encryption zone. Such directories include:
> {{/user}}, 
> {{/user/$user}} 
> {{/user/$user/.Trash}}
> Thanks [~xyao] for the offline discussion.

This message was sent by Atlassian JIRA

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

View raw message