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. I have creaed this issue, just so that we cross reference it here.
THRIFT-1795 - Race condition in TThreadedServerPool java implementation,