[ https://issues.apache.org/jira/browse/HIVE-24022?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17186143#comment-17186143 ]
Sam An commented on HIVE-24022: ------------------------------- have a upstream patch. [https://github.com/apache/hive/pull/1385] > Optimise HiveMetaStoreAuthorizer.createHiveMetaStoreAuthorizer > -------------------------------------------------------------- > > Key: HIVE-24022 > URL: https://issues.apache.org/jira/browse/HIVE-24022 > Project: Hive > Issue Type: Improvement > Reporter: Rajesh Balamohan > Assignee: Sam An > Priority: Minor > Labels: performance, pull-request-available > Time Spent: 10m > Remaining Estimate: 0h > > 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)