[ 
https://issues.apache.org/jira/browse/HIVE-9253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14264596#comment-14264596
 ] 

Dong Chen commented on HIVE-9253:
---------------------------------

Hi [~brocknoland], 

I attached a patch to let the sockets in server have a timeout. When client is 
inactive for a while, its corresponding connection in server can detect it.

The change is based on thrift TServer. The passed in timeout value will be set 
in underlying socket.

I think the example of Solution Two in the article 
http://www.javacoffeebreak.com/articles/network_timeouts/ is what we want, 
right?

> MetaStore server should detect client timeout
> ---------------------------------------------
>
>                 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
>
> 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 detect client timeout.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to