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

Venkat Ranganathan commented on FLUME-1788:
-------------------------------------------

Yes, I tried with a sleep in the test and it helps   Attached is the patch.  
BTW I discovered couple of other testing issues which made debugging this much 
harder than it needs to be:)   I will create additional JIRAs for them

Thanks

Venkat
                
> Flume Thrift source can fail intermittently because of a race condition in 
> Thrift server implementation on some Linux systems
> -----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: FLUME-1788
>                 URL: https://issues.apache.org/jira/browse/FLUME-1788
>             Project: Flume
>          Issue Type: Bug
>          Components: Test
>    Affects Versions: v1.3.0
>         Environment: RHEL 5.x based systems, some SUSE versions
>            Reporter: Venkat Ranganathan
>            Priority: Minor
>         Attachments: Flume-1788.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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to