Xiaoyu Yao created HDFS-15724:
---------------------------------

             Summary: Hive should use DFSClient#isHDFSEncryptionEnabled
                 Key: HDFS-15724
                 URL: https://issues.apache.org/jira/browse/HDFS-15724
             Project: Hadoop HDFS
          Issue Type: Bug
    Affects Versions: 3.3.0
            Reporter: Xiaoyu Yao
            Assignee: Xiaoyu Yao


HIVE-23212 and HIVE-23261 adding check for hdfs encryption to determine if copy 
is needed. However, the API used DFSUtilClient.isHDFSEncryptionEnabled is 
solely based on local hadoop.security.key.provider.path configuration. This has 
been evolved into a HDFS internal configuration that may not exist in client 
side. The right API to be called here should be   
DFSClient.isHDFSEncryptionEnabled which will get the keyprovider info from NN 
directly after HDFS-11687 and HDFS-12396. This ticket is opened to fix it. 




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to