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

[jira] [Created] (HIVE-24022) Optimise HiveMetaStoreAuthorizer.createHiveMetaStoreAuthorizer

Rajesh Balamohan created HIVE-24022:
---------------------------------------

             Summary: Optimise HiveMetaStoreAuthorizer.createHiveMetaStoreAuthorizer
                 Key: HIVE-24022
                 URL: https://issues.apache.org/jira/browse/HIVE-24022
             Project: Hive
          Issue Type: Improvement
            Reporter: Rajesh Balamohan


For a table with 3000+ partitions, analyze table takes a lot longer time as HiveMetaStoreAuthorizer tries to create HiveConf for every partition request.

 

[https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/security/authorization/plugin/metastore/HiveMetaStoreAuthorizer.java#L319]

 

[https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/security/authorization/plugin/metastore/HiveMetaStoreAuthorizer.java#L447]




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