Re: Using compound primary key

2012-10-09 Thread Vivek Mishra
Keyspace: testcomp: Replication Strategy: org.apache.cassandra.locator.NetworkTopologyStrategy Durable Writes: true Options: [datacenter1:1] Column Families: ColumnFamily: altercations Key Validation Class: org.apache.cassandra.db.marshal.UTF8Type Default column value vali

Re: Using compound primary key

2012-10-09 Thread Vivek Mishra
1 strange issue with 1.1.5 . It works with CQL3: **8 CREATE TABLE altercations ( ...instigator text, ...started_

Re: Using compound primary key

2012-10-09 Thread Vivek Mishra
Works fine with 1.1.5 Thanks, -Vivek On Tue, Oct 9, 2012 at 1:59 PM, Vivek Mishra wrote: > I am going to try it on 1.1.5 > > In case if you can point me to changes made in between since 1.1.2 to > 1.1.5 . It will be great. > > -Vivek > > > On Tue, Oct 9, 2012 at 1:51 PM, Sylvain Lebresne wrote:

Re: Using compound primary key

2012-10-09 Thread Vivek Mishra
I am going to try it on 1.1.5 In case if you can point me to changes made in between since 1.1.2 to 1.1.5 . It will be great. -Vivek On Tue, Oct 9, 2012 at 1:51 PM, Sylvain Lebresne wrote: > On Tue, Oct 9, 2012 at 9:50 AM, Vivek Mishra > wrote: > > Unfortunately nothing in server logs leads me

Re: Using compound primary key

2012-10-09 Thread Sylvain Lebresne
On Tue, Oct 9, 2012 at 9:50 AM, Vivek Mishra wrote: > Unfortunately nothing in server logs leads me to any error. Ok. Would you mind checking if you can reproduce against 1.1.5 if you haven't already. If it does, do you mind opening a JIRA ticket with the steps to reproduce? Thanks, Sylvain > >

Re: Using compound primary key

2012-10-09 Thread Sylvain Lebresne
On Tue, Oct 9, 2012 at 8:57 AM, Vivek Mishra wrote: > Ok. I am able to understand the problem now. Issue is: > > If i create a column family altercations as: > > **8 > CREATE TABLE altercations

Re: Using compound primary key

2012-10-09 Thread Vivek Mishra
Also, it results in "Broken pipe" error on cqlsh. Not sure why socket connection got broken as well. -Vivek On Tue, Oct 9, 2012 at 1:20 PM, Vivek Mishra wrote: > Unfortunately nothing in server logs leads me to any error. > > -Vivek > > > On Tue, Oct 9, 2012 at 1:16 PM, Sylvain Lebresne wrote:

Re: Using compound primary key

2012-10-09 Thread Vivek Mishra
Unfortunately nothing in server logs leads me to any error. -Vivek On Tue, Oct 9, 2012 at 1:16 PM, Sylvain Lebresne wrote: > On Tue, Oct 9, 2012 at 8:57 AM, Vivek Mishra > wrote: > > Ok. I am able to understand the problem now. Issue is: > > > > If i create a column family altercations as: > >

Re: Using compound primary key

2012-10-08 Thread Vivek Mishra
lace of 2 >> >> -Vivek >> >> On Tue, Oct 9, 2012 at 7:57 AM, Arindam Barua wrote: >> >>> ** ** >>> >>> Did you use the “--cql3” option with the cqlsh command? >>> >>> ** ** >>> >>> *From:* Vivek Mis

Re: Using compound primary key

2012-10-08 Thread Vivek Mishra
;> >> ** ** >> >> *From:* Vivek Mishra [mailto:mishra.v...@gmail.com] >> *Sent:* Monday, October 08, 2012 7:22 PM >> *To:* user@cassandra.apache.org >> >> *Subject:* Using compound primary key >> >> ** ** >> >> Hi, >> >&g

Re: Using compound primary key

2012-10-08 Thread Brian O'Neill
PM > To: user@cassandra.apache.org > > > Subject: Using compound primary key > > > > Hi, > > > > I am trying to use compound primary key column name and i am referring to: > > http://www.datastax.com/dev/blog/whats-new-in-cql-3-0 > > >

Re: Using compound primary key

2012-10-08 Thread Vivek Mishra
u use the “--cql3” option with the cqlsh command? > > ** ** > > *From:* Vivek Mishra [mailto:mishra.v...@gmail.com] > *Sent:* Monday, October 08, 2012 7:22 PM > *To:* user@cassandra.apache.org > > *Subject:* Using compound primary key > > ** ** > > Hi, >

RE: Using compound primary key

2012-10-08 Thread Arindam Barua
Did you use the "--cql3" option with the cqlsh command? From: Vivek Mishra [mailto:mishra.v...@gmail.com] Sent: Monday, October 08, 2012 7:22 PM To: user@cassandra.apache.org Subject: Using compound primary key Hi, I am trying to use compound primary key column name and i am referrin