No the clients are fixed However sometimes the queries can be huge like this. To summarize I will have the following in my TODO list to rectify this: Try reducing the batch commit size. <Please add some more checks here>
Thanks, Dushyant From: Ben Coverston [mailto:ben.covers...@datastax.com] Sent: Thursday, March 22, 2012 1:32 AM To: user@cassandra.apache.org Subject: Re: Exceptions related to thrift transport With the crazy message size, the version exception, and the frequency, is there a service that is connecting to the thrift port on occasion and sending garbage (port scan or something else of that nature). Can you rule that out? On Wed, Mar 21, 2012 at 11:15 AM, aaron morton <aa...@thelastpickle.com<mailto:aa...@thelastpickle.com>> wrote: 1. org.apache.thrift.TException: Message length exceeded: 134218240 thrift_mas_message_length_in_mb https://github.com/apache/cassandra/blob/cassandra-1.0/conf/cassandra.yaml#L243 (134218240 is 128MB, which is a lot of data( 2. org.apache.thrift.protocol.TProtocolException: Missing version in readMessageBegin, old client? What version of hector are you using ? Cheers ----------------- Aaron Morton Freelance Developer @aaronmorton http://www.thelastpickle.com On 22/03/2012, at 12:02 AM, Tiwari, Dushyant wrote: Hi Cassandra Users, A couple of questions on the server side exceptions that I see sometimes - 1. org.apache.thrift.TException: Message length exceeded: 134218240 * How to configure message length? 2. org.apache.thrift.protocol.TProtocolException: Missing version in readMessageBegin, old client? - How to rectify this exception? Some related client side Exceptions are - 1. org.apache.thrift.transport.TTransportException: java.net.SocketException: Broken pipe 2. me.prettyprint.hector.api.exceptions.HectorTransportException: org.apache.thrift.transport.TTransportException Caused by: org.apache.thrift.transport.TTransportException: null at org.apache.thrift.transport.TIOStreamTransport.read(TIOStreamTransport.java:132) Using Hector as client. The queries are writes to CF with indexes. The frequency of these exceptions are very low. Thanks, Dushyant ________________________________ NOTICE: Morgan Stanley is not acting as a municipal advisor and the opinions or views contained herein are not intended to be, and do not constitute, advice within the meaning of Section 975 of the Dodd-Frank Wall Street Reform and Consumer Protection Act. If you have received this communication in error, please destroy all electronic and paper copies and notify the sender immediately. Mistransmission is not intended to waive confidentiality or privilege. Morgan Stanley reserves the right, to the extent permitted under applicable law, to monitor electronic communications. This message is subject to terms available at the following link: http://www.morganstanley.com/disclaimers. If you cannot access these links, please notify us by reply message and we will send the contents to you. By messaging with Morgan Stanley you consent to the foregoing. -- Ben Coverston DataStax -- The Apache Cassandra Company -------------------------------------------------------------------------- NOTICE: Morgan Stanley is not acting as a municipal advisor and the opinions or views contained herein are not intended to be, and do not constitute, advice within the meaning of Section 975 of the Dodd-Frank Wall Street Reform and Consumer Protection Act. If you have received this communication in error, please destroy all electronic and paper copies and notify the sender immediately. Mistransmission is not intended to waive confidentiality or privilege. Morgan Stanley reserves the right, to the extent permitted under applicable law, to monitor electronic communications. This message is subject to terms available at the following link: http://www.morganstanley.com/disclaimers. If you cannot access these links, please notify us by reply message and we will send the contents to you. By messaging with Morgan Stanley you consent to the foregoing.