are you perhaps trying to send a large batch mutate? i've seen broken
pipes etc in cassandra 0.7 (currently in the process of upgrading to
1.0.8) when a large batch mutate is sent.
On 22/03/2012 07:09, Tiwari, Dushyant wrote:
Hector version 1.0-3
What is the reason for the second exception, BTW?
Thanks,
Dushyant
*From:*aaron morton [mailto:aa...@thelastpickle.com]
*Sent:* Wednesday, March 21, 2012 10:46 PM
*To:* user@cassandra.apache.org
*Subject:* Re: Exceptions related to thrift transport
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
nHow 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.
------------------------------------------------------------------------
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.