Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Flume >> mail # dev >> [jira] [Comment Edited] (FLUME-1796) Upgrade Thrift due to race condition in TThreadSeverPool


Copy link to this message
-
[jira] [Comment Edited] (FLUME-1796) Upgrade Thrift due to race condition in TThreadSeverPool

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

Venkat Ranganathan edited comment on FLUME-1796 at 2/6/14 8:46 PM:
-------------------------------------------------------------------

Now that thrift 0.9.1 has been release, I have updated the dependencies and also fixed a few lines of code where access was overridden (made methods public instead of protected) and provided a default implementation of isOneWay() to return false.

Also undid the workaround introduced earlier

Built and ran tests with these changes
was (Author: venkatnrangan):
Now that thrift 0.9.1 has been release, I have updated the dependencies and also fixed a few lines of code where access was overridden (made methods public instead of protected) and provided a default implementation of isOneWay() to return false

> Upgrade Thrift due to race condition in TThreadSeverPool
> --------------------------------------------------------
>
>                 Key: FLUME-1796
>                 URL: https://issues.apache.org/jira/browse/FLUME-1796
>             Project: Flume
>          Issue Type: Bug
>          Components: Test
>    Affects Versions: v1.3.0
>         Environment: RHEL 5.x based systems, some SUSE versions
>            Reporter: Venkat Ranganathan
>            Assignee: Venkat Ranganathan
>            Priority: Minor
>         Attachments: FLUME-1796.patch
>
>
> While running the Flume unit tests, I observed that under some Linux environments (RHEL 5.x based etc), the Flume thrift source tests were timing out.   This is because of a race condition in TThreadPoolServer used by Flume and speicifically in the testlifecycle.   I have created a JIRA issue on Thrift regarding this[1].   I have creaed this issue, just so that we cross reference it here.
> [1] THRIFT-1795 - Race condition in TThreadedServerPool java implementation,

--
This message was sent by Atlassian JIRA
(v6.1.5#6160)