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] [Comment Edited] (HDFS-11687) Add new public encryption APIs required by Hive
Date Mon, 24 Apr 2017 03:10: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 edited comment on HDFS-11687 at 4/24/17 3:09 AM:
--------------------------------------------------------------

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


was (Author: ferd):
The encryption related APIs are invoked in {noformat}HdfsEncryptionShim {noformat}. APIs come
as follows:
{noformat}
HdfsAdmin.getEncryptionZoneForPath(Path path)
HdfsAdmin.createEncryptionZone(Path path, String keyName)
{noformat}
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
(v6.3.15#6346)

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


Mime
View raw message