[ 
https://issues.apache.org/jira/browse/HIVE-25294?focusedWorklogId=638468&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-638468
 ]

ASF GitHub Bot logged work on HIVE-25294:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 17/Aug/21 01:18
            Start Date: 17/Aug/21 01:18
    Worklog Time Spent: 10m 
      Work Description: dengzhhu653 commented on a change in pull request #2435:
URL: https://github.com/apache/hive/pull/2435#discussion_r675419332



##########
File path: 
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HMSHandler.java
##########
@@ -374,9 +362,14 @@ public HMSHandler(String name, Configuration conf, boolean 
init) throws MetaExce
         }
       }
     }
-    if (init) {
-      init();
-    }
+  }
+
+  @VisibleForTesting
+  public static HMSHandler getInitializedHandler(String name, Configuration 
conf)

Review comment:
       Hey @kgyrtkirk, any thoughts or comments?




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 638468)
    Time Spent: 1h 50m  (was: 1h 40m)

> Optimise the metadata count queries for local mode
> --------------------------------------------------
>
>                 Key: HIVE-25294
>                 URL: https://issues.apache.org/jira/browse/HIVE-25294
>             Project: Hive
>          Issue Type: Improvement
>          Components: Standalone Metastore
>            Reporter: Zhihua Deng
>            Assignee: Zhihua Deng
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 1h 50m
>  Remaining Estimate: 0h
>
> When Metastore is in local mode,  the client uses his own private HMSHandler 
> to get the meta data,  the HMSHandler should be initialized before being 
> ready to serve. When the metrics is enabled, HMSHandler will count the number 
> of db, table, partitions on initializing,  which cloud lead to some 
> performance problems.



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

Reply via email to