Re: Cassandra connectors

2014-07-11 Thread Robert Coli
On Fri, Jul 11, 2014 at 3:25 PM, Alex Popescu wrote: > > 2. Do we have a RESTful interface for Cassandra? >> > > Accessing C* is done over the CQL protocol. > "Accessing C* is done over Thrift or the CQL protocol." FTFY. If Thrift isn't deprecated, lets not make statements that suggest that it

Re: Small bug on Cassandra 2.1.0-rc3 and fix

2014-07-11 Thread Carlos Scheidecker
Yep, the package is a little earlier than that. Next build should do it. I have been fixing it manually on 2.1 since they changed the version. Thanks. On Fri, Jul 11, 2014 at 4:25 PM, Mark Reddy wrote: > This looks to have been fixed only yesterday: > https://github.com/apache/cassandra/commit/

Re: Cassandra connectors

2014-07-11 Thread Alex Popescu
On Fri, Jul 11, 2014 at 4:23 AM, Lohith Samaga wrote: > Questions: > 1. Do we have any jdbc driver for Cassandra 2.x series? If no, are tehre > any plans to build one? > There's no JDBC driver for C* 2.x, though we might create a wrapper over the Java driver at some point. It should be noted tha

Re: Small bug on Cassandra 2.1.0-rc3 and fix

2014-07-11 Thread Mark Reddy
This looks to have been fixed only yesterday: https://github.com/apache/cassandra/commit/420c68511417e917925898e8c0637c9df3e317b0 On Fri, Jul 11, 2014 at 10:49 PM, Carlos Scheidecker wrote: > Mark, > > Sure! > > Actually it might be a package problem. Not installing Cassandra by hand > as I nee

Re: Small bug on Cassandra 2.1.0-rc3 and fix

2014-07-11 Thread Carlos Scheidecker
Mark, Sure! Actually it might be a package problem. Not installing Cassandra by hand as I need to test it across a bigger dev cluster. As I am using Ubuntu 14.04 on the test nodes using the following repository: ### Cassandra deb http://www.apache.org/dist/cassandra/debian 21x main # disabled o

Re: UnavailableException

2014-07-11 Thread Mark Reddy
Can you post the output of nodetool status and your Astyanax connection settings? On Fri, Jul 11, 2014 at 9:06 PM, Ruchir Jha wrote: > This is how we create our keyspace. We just ran this command once through > a cqlsh session on one of the nodes, so don't quite understand what you > mean by "c

Re: Small bug on Cassandra 2.1.0-rc3 and fix

2014-07-11 Thread Mark Reddy
Hi Carlos, I have just downloaded 2.1.0-rc3 to validate this and the cassandra.in.sh contains the correct reference to the jamm-0.2.6.jar This can also been seen on the trunk: https://github.com/apache/cassandra/blob/trunk/bin/cassandra.in.sh I am unsure why you are seeing jamm-0.2.5.jar in your

Small bug on Cassandra 2.1.0-rc3 and fix

2014-07-11 Thread Carlos Scheidecker
Hello all, Probably not here that I should submit it, but I have been testing Cassandra 2.1.0 for quite a while. I have tried to subscribe to the dev list as well. Even now on rc3, there is still a small bug on cassandra.in.sh used, among others, for nodetool settings. The error is that it is s

Re: UnavailableException

2014-07-11 Thread Ruchir Jha
This is how we create our keyspace. We just ran this command once through a cqlsh session on one of the nodes, so don't quite understand what you mean by "check that your DC names match up" CREATE KEYSPACE prod WITH replication = { 'class': 'NetworkTopologyStrategy', 'datacenter1': '3' }; O

Re: UnavailableException

2014-07-11 Thread Chris Lohfink
What replication strategy are you using? if using NetworkTopolgyStrategy double check that your DC names match up (case sensitive) Chris On Jul 11, 2014, at 9:38 AM, Ruchir Jha wrote: > Here's the complete stack trace: > > com.netflix.astyanax.connectionpool.exceptions.TokenRangeOfflineExcept

Windows-aware Cassandra

2014-07-11 Thread Josh McKenzie
With the release of Cassandra 2.1.0-rc3, the Cassandra team would like to open the doors to widespread testing of Cassandra on Windows. As of this release we have most of the platform-specific kinks ironed out and would like to get this into the hands of more developers and users and collect your

Re: UnavailableException

2014-07-11 Thread Ruchir Jha
Here's the complete stack trace: com.netflix.astyanax.connectionpool.exceptions.TokenRangeOfflineException: TokenRangeOfflineException: [host=ny4lpcas5.fusionts.corp(10.10.20.47):9160, latency=22784(42874), attempts=3]UnavailableException() at com.netflix.astyanax.thrift.ThriftConverter.To

Re: UnavailableException

2014-07-11 Thread Prem Yadav
Please post the full exception. On Fri, Jul 11, 2014 at 1:50 PM, Ruchir Jha wrote: > We have a 12 node cluster and we are consistently seeing this exception > being thrown during peak write traffic. We have a replication factor of 3 > and a write consistency level of QUORUM. Also note there is

UnavailableException

2014-07-11 Thread Ruchir Jha
We have a 12 node cluster and we are consistently seeing this exception being thrown during peak write traffic. We have a replication factor of 3 and a write consistency level of QUORUM. Also note there is no unusual Or Full GC activity during this time. Appreciate any help. Sent from my iPhon

Re: Practical limit to number of keyspaces?

2014-07-11 Thread Jack Krupansky
Technically, key spaces themselves are relatively cheap, so there is no limit there per se. But... you probably want to put tables in them, which are not so cheap. Generally, the guidance is for no more than “low hundreds” of tables, regardless of whether you have one table per key space or all

Cassandra connectors

2014-07-11 Thread Lohith Samaga
Hi, I am using Cassandra 2.0.9 server. I use the Datastax java driver to connect to the server. Questions: 1. Do we have any jdbc driver for Cassandra 2.x series? If no, are tehre any plans to build one? 2. Do we have a RESTful interface for Cassandra? Can you please clarify? Thanks in advance.