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

Andrew Wang commented on HIVE-16047:
------------------------------------

Hi folks, DFSClient is a private API. After HADOOP-14333, it broke Hive 
compilation because we changed isHdfsEncryptionEnabled to throw an exception.

We'd be pleased to add public APIs at HDFS-11687 for whatever Hive needs wrt 
HDFS encryption (or even HDFS more broadly). I'd be nice to revert this for now 
(since it's a pretty minor fix) and revisit once HDFS-11687 is resolved. I 
already filed and linked HIVE-16490 to help track this work.

> Shouldn't try to get KeyProvider unless encryption is enabled
> -------------------------------------------------------------
>
>                 Key: HIVE-16047
>                 URL: https://issues.apache.org/jira/browse/HIVE-16047
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Rui Li
>            Assignee: Rui Li
>            Priority: Minor
>             Fix For: 2.2.0
>
>         Attachments: HIVE-16047.1.patch, HIVE-16047.2.patch
>
>
> Found lots of following errors in HS2 log:
> {noformat}
> hdfs.KeyProviderCache: Could not find uri with key 
> [dfs.encryption.key.provider.uri] to create a keyProvider !!
> {noformat}
> Similar to HDFS-7931



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to