[ https://issues.apache.org/jira/browse/HDFS-11687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16003251#comment-16003251 ]
Rushabh S Shah commented on HDFS-11687: --------------------------------------- bq. Wouldnt we see the same log message again if we use HdfsAdmin.getKeyProvider() [~ngangam]: Why don't you do a null check before logging. If encryption is disabled, {{HDFSAdmin#getKeyProvider}} will return null. [~eddyxu]: We missed committing this patch to branch-2.8. Can you please commit to branch-2.8 also. > 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 > Assignee: Lei (Eddy) Xu > Fix For: 2.9.0, 3.0.0-alpha3 > > Attachments: HDFS-11687.00.patch, HDFS-11687.01.patch, > HDFS-11687.02.patch, HDFS-11687.03.patch > > > 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-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org