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

Brock Noland commented on THRIFT-2046:
--------------------------------------

Hey [~jfarrell],

This patch is ready for review and the Hive project would love to see it in the 
next release. Any chance you could give it a review:

https://issues.apache.org/jira/secure/attachment/12673198/THRIFT-2046_4.patch

Brock

> The worktask can be timed out in TThreadPoolServer (Java) when the max# 
> thrift thread is reached
> ------------------------------------------------------------------------------------------------
>
>                 Key: THRIFT-2046
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2046
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Java - Library
>    Affects Versions: 0.9
>            Reporter: Chaoyu Tang
>            Assignee: Jake Farrell
>             Fix For: 1.0
>
>         Attachments: THRIFT-2046.patch, THRIFT-2046_1.patch, 
> THRIFT-2046_2.patch, THRIFT-2046_3.patch, THRIFT-2046_4.patch
>
>
> Once the max# of thrift threads is reached, a new task (workprocess) is 
> attempted to be executed in an infinite loop, then the client may hang.
> An improvement is to introduce a task timeout. after a certain time, if the 
> task is still not got queued to be executed. It will be invalidated.



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

Reply via email to