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

Andrew Wang commented on HDFS-11687:
------------------------------------

I'd like to get Hive off of DistributedFileSystem and DFSClient in 
Hadoop23Shims if possible. DFS is also a private API, and there's a lot going 
on here that makes me uncomfortable as an HDFS developer. This is additional 
work beyond just the immediate scope of this JIRA.

As a start, I think we should expose {{getKeyProvider}} in HDFSAdmin. 
{{isHdfsEncryptionEnabled}} is just a check for if {{getKeyProvider}} is null, 
so we don't need to expose that too.

As part of this, we should also see if the ERROR logging mentioned in 
HIVE-16047 and HDFS-7931 needs to be quashed some more.

> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to