[ https://issues.apache.org/jira/browse/HIVE-27172?focusedWorklogId=852896&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-852896 ]
ASF GitHub Bot logged work on HIVE-27172: ----------------------------------------- Author: ASF GitHub Bot Created on: 24/Mar/23 18:24 Start Date: 24/Mar/23 18:24 Worklog Time Spent: 10m Work Description: wecharyu commented on code in PR #4150: URL: https://github.com/apache/hive/pull/4150#discussion_r1147927316 ########## standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/TestHiveMetaStoreTimeout.java: ########## @@ -43,9 +46,10 @@ public class TestHiveMetaStoreTimeout { protected static HiveMetaStoreClient client; protected static Configuration conf; protected static Warehouse warehouse; + protected static int port; - @BeforeClass - public static void setUp() throws Exception { + @Before + public void setUp() throws Exception { HMSHandler.testTimeoutEnabled = true; Review Comment: Nit: This test code hacks `HMSHandler` class, I will refactor this in a new PR. Issue Time Tracking ------------------- Worklog Id: (was: 852896) Time Spent: 20m (was: 10m) > 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: 20m > 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)