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

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

                Author: ASF GitHub Bot
            Created on: 29/Apr/23 11:21
            Start Date: 29/Apr/23 11:21
    Worklog Time Spent: 10m 
      Work Description: wecharyu commented on code in PR #4150:
URL: https://github.com/apache/hive/pull/4150#discussion_r1181062821


##########
standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/TestHiveMetaStoreTimeout.java:
##########
@@ -117,7 +123,7 @@ public void testResetTimeout() throws Exception {
         .build(conf);
     try {
       client.createDatabase(db);
-    } catch (MetaException e) {
+    } catch (Exception e) {

Review Comment:
   Because we have changed to use the remote MetaStore server in this test 
class, so the timeout exception was wrapped in `TTransportException` rather 
than `MetaException`.





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

    Worklog Id:     (was: 859770)
    Time Spent: 2h 40m  (was: 2.5h)

> Add the HMS client connection timeout config
> --------------------------------------------
>
>                 Key: HIVE-27172
>                 URL: https://issues.apache.org/jira/browse/HIVE-27172
>             Project: Hive
>          Issue Type: Task
>          Components: Hive
>            Reporter: Wechar
>            Assignee: Wechar
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 2h 40m
>  Remaining Estimate: 0h
>
> Currently {{HiveMetastoreClient}} use {{CLIENT_SOCKET_TIMEOUT}} as both 
> socket timeout and connection timeout, it's not convenient for users to set a 
> smaller connection timeout.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to