Re: JDBC Driver issue in 0.8beta1

2011-04-27 Thread David McNelis
That was my issue. As suspected, falls into the "I must be doing something dumb" category. Thank you, Jonathon. On Wed, Apr 27, 2011 at 4:32 PM, Jonathan Ellis wrote: > That looks to me like it's using the thrift definitions from the 0.7 > jar, rather than the 0.8. Are you sure the old Cassan

Re: JDBC Driver issue in 0.8beta1

2011-04-27 Thread Jonathan Ellis
That looks to me like it's using the thrift definitions from the 0.7 jar, rather than the 0.8. Are you sure the old Cassandra jar is no longer on your classpath? On Wed, Apr 27, 2011 at 4:29 PM, David McNelis wrote: > Attached: > 21 [main] INFO org.apache.cassandra.cql.jdbc.Connection - Connecte

Re: JDBC Driver issue in 0.8beta1

2011-04-27 Thread David McNelis
Attached: 21 [main] INFO org.apache.cassandra.cql.jdbc.Connection - Connected to localhost:9160 Exception in thread "main" org.apache.cassandra.cql.jdbc.DriverResolverException: Required field 'replication_factor' was not found in serialized data! Struct: KsDef(name:system, strategy_class:org.apac

Re: JDBC Driver issue in 0.8beta1

2011-04-27 Thread Jonathan Ellis
What's the stacktrace? On Wed, Apr 27, 2011 at 9:45 AM, David McNelis wrote: > I have a feeling that I'm likely doing something dumb.  I have  the > following code compiling without any issues: > String url = null; > try { >      Class.forName("org.apache.cassandra.cql.jdbc.CassandraDriver"); >  

JDBC Driver issue in 0.8beta1

2011-04-27 Thread David McNelis
I have a feeling that I'm likely doing something dumb. I have the following code compiling without any issues: String url = null; try { Class.forName("org.apache.cassandra.cql.jdbc.CassandraDriver"); url = "jdbc:cassandra:username/password@localhost:9160/keyspace"; Connection co