Niraj Tulachan since we are getting "timed out waiting for connection" can we increase the thrift socket timeout in keyvaluemap-datastore. What could be the difference between play dist and play start? The remedy is to increase the time between retries ms is too small, works for me. We are using astyanax java client to connect to the cluster. Cassandra on my box: 
| Uploader: | Taurisar |
| Date Added: | 7 August 2005 |
| File Size: | 41.31 Mb |
| Operating Systems: | Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X |
| Downloads: | 7461 |
| Price: | Free* [*Free Regsitration Required] |
Getting Cassandra PoolTimeoutException when Saving KeyValue Map
Would like to know if our configurations looks fine? Is this the max pool size? We have 3 Cassandra hosts. Truncation is a long operation because first of all Cassandra does a syncthat is, flushes all data from memory.
I'm facing an issue with writing data into cassandra. Post as a guest Name. It is a lot of data, so a read timeout happens.
Download astyanax-cassandrajar : astyanax « a « Jar File Download
So the max pool size should be Caswandra Overflow for Teams is a private, secure spot for you and your coworkers to find and share information. The reason for that exception is that deep inside thrift the connection is closed by submitting an asynchronous job to some executor. When doing load testing 30 concurrent users we are getting below errors in MessageProcessor logs.
Key Value Map Operations policy not working as expected 3 Answers. Is there a way to monitor active connections in pool so we can set this value accordingly?
We are using Astyanax java client. Running nodetool -h localhost gave the following output. By using our site, you acknowledge that you have read and understand our Cookie PolicyPrivacy Policy casandra, and our Terms of Service.
Stack Overflow works best with JavaScript enabled. Asked 6 years, 8 months ago. Add comment Show 1. I'm testing on my machine, single instance of cassandra.

The remedy is to increase the time between retries ms is too small, works for me. We are still getting Jra. If you're encountering the above exception, best thing is to increase the of connections. Answers Answers and Comments 41 People are following this question.
Getting Cassandra PoolTimeoutException when Saving KeyValue Map
Improving the question-asking experience. Is this the correct setting to resolve this issue? Also, we tried using ConnectionPoolType. Sign up using Facebook. Is there any configuration property which sets the MaxTimeoutWhenExhausted of Astyanax connection pool?

But if the timeout exception is thrown, we still get a "NoAvailableHostsException It's the max connections per host. When we start the play application using "play start" everything seems to be working fine but when we create a dist using "play dist" command and start the service it throws the following exception.

I'm facing an issue connecting to cassandra cluster from play framework. Pranay Pranay 33 1 1 silver badge 7 7 bronze badges.
Get answers, ideas, and support from the Apigee Community. One workaround to this problem is to first call cassandraClient.

Комментарии
Отправить комментарий