[ https://issues.apache.org/jira/browse/HIVE-9253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14273737#comment-14273737 ]
Dong Chen commented on HIVE-9253: --------------------------------- When unit testing the changes in {{RetryingHMSHandler}}, I found it is hard to simulate the method timeout case. I could manually debug and pause the method so that timeout, and the {{checkTimeout()}} in usage 2 work fine. However, I did not find a way to write a stable case for it... Not sure using a specific data set for the case is ok, since the speed may vary in build machines. And the cases like {{TestHiveMetaStore}} focusing on client/server layer seems cannot help. Any ideas are highly appreciated! :) > MetaStore server should support timeout for long running requests > ----------------------------------------------------------------- > > Key: HIVE-9253 > URL: https://issues.apache.org/jira/browse/HIVE-9253 > Project: Hive > Issue Type: Sub-task > Components: Metastore > Reporter: Dong Chen > Assignee: Dong Chen > Attachments: HIVE-9253.1.patch, HIVE-9253.patch > > > In the description of HIVE-7195, one issue is that MetaStore client timeout > is quite dumb. The client will timeout and the server has no idea the client > is gone. > The server should support timeout when the request from client runs a long > time. -- This message was sent by Atlassian JIRA (v6.3.4#6332)