hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ferdinand Xu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-11687) Add new public encryption APIs required by Hive
Date Mon, 24 Apr 2017 03:06:04 GMT

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

Ferdinand Xu commented on HDFS-11687:

The encryption related APIs are invoked in {noformat}HdfsEncryptionShim {noformat}. APIs come
as follows:
HdfsAdmin.getEncryptionZoneForPath(Path path)
HdfsAdmin.createEncryptionZone(Path path, String keyName)
As [~lirui] mentioned, we need a way to obtain KeyProvider instance like dfs.getClient().getKeyProvider()

> Add new public encryption APIs required by Hive
> -----------------------------------------------
>                 Key: HDFS-11687
>                 URL: https://issues.apache.org/jira/browse/HDFS-11687
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: encryption
>    Affects Versions: 2.6.5
>            Reporter: Andrew Wang
> As discovered on HADOOP-14333, Hive is using reflection to get a DFSClient for its encryption
shim. We should provide proper public APIs for getting this information.

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