hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiao Chen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-10918) Add a tool to get FileEncryptionInfo from CLI
Date Wed, 28 Sep 2016 01:56:20 GMT

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

Xiao Chen updated HDFS-10918:
    Attachment: HDFS-10918.01.patch

Attaching a patch to express the idea.

Some explanations:
- Client can already get {{FileEncryptionInfo}} from {{DFSClient}} code, just not convenient
from CLI. So adding such a tool provides some convenience, with no security drawback.
- Anyone can read the file should be able to get feinfo, to be consistent with client behavior.
- Added a {{toStringStable}} to feinfo, similar to what HDFS-9732 is done.
- Can't seem to have permission related tests added to {{TestCryptoAdminCLI}}, since it's
always running as superuser. Manually tested though.

> Add a tool to get FileEncryptionInfo from CLI
> ---------------------------------------------
>                 Key: HDFS-10918
>                 URL: https://issues.apache.org/jira/browse/HDFS-10918
>             Project: Hadoop HDFS
>          Issue Type: New Feature
>          Components: encryption
>            Reporter: Xiao Chen
>            Assignee: Xiao Chen
>         Attachments: HDFS-10918.01.patch

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