-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Thift framesize out of bound #1125
Comments
Is this the Astyanax feature that we need? I know they have a Thrift line and a CQL line, and I don't remember which one master corresponds to off the top of my head. I'll take a closer look later if I don't hear back from you. |
@dalaro We got hit by this issue as well. Looking at that pull request, I think it does exactly that. Is it possible to make use of that in Titan? (We're using 0.5.4.) |
@mishraawake Did you find a workable workaround? I'm aware of using cassandrathrift (which allows the frame size to be enlarged), however its performance seems to degrade to an unacceptable level. |
Same question I had on another Issue - but Astyanax doesn't look like it supports Cassandra 2.2.x. Are we going to get into submitting pull requests there to upgrade the Astyanax / Thrift version of their driver...or what is the thought on how to continue doing Thrift with Cassandra 2.2.x + given the non-backwards changes that were made in Cassandra ? The Thrift driver still works, but per remarks here, it isn't always the preferred driver. |
Titan release 1.0.0 contains this change which adds an option to control the Astyanax thrift frame size: 1001f3a. However, this doesn't help the 0.5 line. This open PR will extend the option to control the Astyanax thrift frame size to 0.5: #1146. I think that linked PR subsumes work remaining on this issue, so I'm going to close this issue (but keep the PR open until it is merged). Feel free to reopen if there's a separate problem in this issue that I missed. |
We are facing one problem herein for some shallow node, default thift frame size exceeds from its limit defined in asyntax client.
Is titan planning to include latest as astyanax library because in new astyanax library there is provision of configuring this particular setting that we need to increase.
Version of titan that we are using is : 0.5.4
There is another work around for this problem is to use cassandrathrift as backend configuration.
But I don't think it is recommended for live environment.
For your kind information we are getting following exception.
com.thinkaurelius.titan.core.TitanException: Could not execute operation due to backend exception
Caused by: com.thinkaurelius.titan.diskstorage.TemporaryBackendException: Could not successfully complete backend operation due to repeated temporary exceptions after Duration[10 s]
Caused by: com.thinkaurelius.titan.diskstorage.TemporaryBackendException: Temporary failure in storage backend
Caused by: com.netflix.astyanax.connectionpool.exceptions.TransportException: TransportException: [host=192.168.34.91(192.168.34.91):9160, latency=185(185), attempts=1]org.apache.thrift.transport.TTransportException: Frame size (20843333) larger than max length (16384000)!
Caused by: org.apache.thrift.transport.TTransportException: Frame size (20843333) larger than max length (16384000)!
The text was updated successfully, but these errors were encountered: