You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Rajesh Balamohan (Jira)" <ji...@apache.org> on 2020/04/16 05:35:00 UTC

[jira] [Updated] (HIVE-23212) SemanticAnalyzer::getStagingDirectoryPathname should check for encryption zone only when needed

     [ https://issues.apache.org/jira/browse/HIVE-23212?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rajesh Balamohan updated HIVE-23212:
------------------------------------
    Attachment: HIVE-23212.1.patch

> SemanticAnalyzer::getStagingDirectoryPathname should check for encryption zone only when needed
> -----------------------------------------------------------------------------------------------
>
>                 Key: HIVE-23212
>                 URL: https://issues.apache.org/jira/browse/HIVE-23212
>             Project: Hive
>          Issue Type: Improvement
>          Components: HiveServer2
>            Reporter: Rajesh Balamohan
>            Priority: Minor
>         Attachments: HIVE-23212.1.patch
>
>
> [https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java#L2572]
>  
> When cluster does not have encryption zones configured, this ends up making 2 calls to NN unnecessarily. It would be good to guard it with config or check for the KMS config from HDFS and invoke it on need basis.



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