Re: timeout when insert an indexed column

2010-09-08 Thread Jonathan Ellis
this is fixed in trunk for beta2 On Wed, Sep 8, 2010 at 9:52 PM, welcome wrote: > Hello! > >    I encounter the same problem with you,and I replace > client.insert("index".getBytes("UTF-8"), parent, > column,ConsistencyLevel.ONE);to: > client.insert("inde".getBytes("UTF-8"), parent, column,Consi

Re: timeout when insert an indexed column

2010-09-08 Thread welcome
Hello! I encounter the same problem with you,and I replace client.insert("index".getBytes("UTF-8"), parent, column,ConsistencyLevel.ONE);to: client.insert("inde".getBytes("UTF-8"), parent, column,ConsistencyLevel.ONE); That's right.But when I insert another one letter again,It's wrong as b

Re: timeout when insert an indexed column

2010-09-07 Thread Asif Jan
On Sep 7, 2010, at 11:05 AM, Ying Tang wrote: Sorry , i didn't put it clearly. The app throws out the TimeoutException , but the cassandra throws out the ArrayIndexOutOfBoundsException. And if i shortened this key's length,such as one letter , the indexed column insert is successful. But if

Re: timeout when insert an indexed column

2010-09-07 Thread Ying Tang
Sorry , i didn't put it clearly. The app throws out the TimeoutException , but the cassandra throws out the ArrayIndexOutOfBoundsException. And if i shortened this key's length,such as one letter , the indexed column insert is successful. But if i let the key be 'index0' ,this insert operation

Re: timeout when insert an indexed column

2010-09-07 Thread Carlin Wong
Hi Ivy, Are you sure about this. One is TimedOutException, and another is ArrayIndexOutOfBoundsException. I can't see any connection. Please point out, thank you. Calin4J 2010/9/7 Ying Tang > oh ,i've found this https://issues.apache.org/jira/browse/CASSANDRA-1402 > > > > On 9/7/10, Ying

Re: timeout when insert an indexed column

2010-09-07 Thread Ying Tang
oh ,i've found this https://issues.apache.org/jira/browse/CASSANDRA-1402 On 9/7/10, Ying Tang wrote: > Before inserting, the Cassandra.client is assined the keyspace . > ColumnParent parent = new ColumnParent(); >parent.setColumn_family("Standard1"); > > > On Tue, Sep 7, 2010 at

Re: timeout when insert an indexed column

2010-09-07 Thread Ying Tang
Before inserting, the Cassandra.client is assined the keyspace . ColumnParent parent = new ColumnParent(); parent.setColumn_family("Standard1"); On Tue, Sep 7, 2010 at 4:19 PM, Viktor Jevdokimov < viktor.jevdoki...@adform.com> wrote: > I didn't get which keyspace and column family yo

RE: timeout when insert an indexed column

2010-09-07 Thread Viktor Jevdokimov
I didn't get which keyspace and column family you trying to insert to? > parent.setColumn_family("Standard1"); -Original Message- From: Ying Tang [mailto:ivytang0...@gmail.com] Sent: Tuesday, September 07, 2010 11:10 AM To: user@cassandra.apache.org Subject: timeout when insert an indexe