Hi again! Could the problem have been that I didn't set a send timeout on my TSocket?
Old code: static boost::shared_ptr<TSocket> thrift_socket = boost::shared_ptr<TSocket>(new TSocket(thrift_host, thrift_port)); New code: static boost::shared_ptr<TSocket> thrift_socket = boost::shared_ptr<TSocket>(new TSocket(thrift_host, thrift_port)); * thrift_socket->setSendTimeout(100);* Erik -----Ursprungligt meddelande----- Från: Jens Geyer [mailto:[email protected]] Skickat: den 18 mars 2014 22:19 Till: [email protected] Ämne: Re: Thrift flume C++: call to append doesn't return Hi Erik, > Why doesn't append return? welcome to the mailing list. I'm afraid, you probably ask at the wrong place, because Thrift is only the means to talk to Flume and given your description below the problem is very likely within Flume itself. You are welcome to ask, if the problem can be tracked down to Thrift and/or if you have a specific reason to suspect the problem may be related to Thrift. Have fun, JensG -----Ursprüngliche Nachricht----- From: Erik Karlsson Sent: Tuesday, March 18, 2014 11:11 AM To: [email protected] Subject: Thrift flume C++: call to append doesn't return Hello! I'm using thrift to send data to flume in C++. Sometimes the call to append doesn't return. "sudo service flume-agent status" showed that the flume-agent was ok. When the flume-agent was restarted with "sudo service flume-agent restart" the logging was resumed. Why doesn't append return? Thrift: 0.9.0 Flume: flume-1.4.0-6.x86_64 Best regards Erik
