Re: CDH4 + Cassandra 1.2 Integration Issue

2013-04-10 Thread Gurminder Gill
Ah ha. So, the client defaults to CQL 2. Anyway of changing that? I tired libthrift 0.9 as well but it doesn't work. Thanks. On Tue, Apr 9, 2013 at 11:29 PM, Shamim sre...@yandex.ru wrote: Hello, if you created your table user with cql then you have to add COMPACT STORAGE as follows:

Re: Illegal Argument Exception

2013-04-10 Thread aaron morton
Caused by: java.lang.IllegalArgumentException at java.nio.Buffer.limit(Buffer.java:266) at org.apache.cassandra.db.marshal.AbstractCompositeType.getBytes(AbstractCompositeType.java:51) This should not be happening. The length for a component in the composite type may be

Exception for version 1.1.0

2013-04-10 Thread Winsdom Chen
Hi, I've lot of assertion error in one machine, does anyone know how to fix it? Thanks! ERROR [Thrift:91817] 2013-03-24 03:26:17,528 AbstractCassandraDaemon.java (line 134) Exception in thread Thread[Thrift:91817,5,main] java.lang.AssertionError at

describe keyspace or column family query not working

2013-04-10 Thread Kuldeep Mishra
Hi , I am trying to execute following query but not working and throwing exception QUERY:-- Cassandra.Client client; client.execute_cql3_query(ByteBuffer.wrap(describe keyspace mykeyspace.getBytes(Constants.CHARSET_UTF8)), Compression.NONE, ConsistencyLevel.ONE);

Getting NullPointerException while executing query

2013-04-10 Thread Kuldeep Mishra
Hi , TABLE - CREATE TABLE CQLUSER ( id int PRIMARY KEY, age int, name text ) Query - select * from CQLUSER where token(name) token(deep); ERROR - Bad Request: Failed parsing statement: [select * from CQLUSER where token(name) token(deep);] reason: NullPointerException

sstableloader throughput

2013-04-10 Thread Viktor Jevdokimov
Hi, We're using Casandra 1.0.12 sstableloader to import data from dedicated machine located in DC1 into the cluster of 32 nodes (RF=4), 16 nodes in DC1 and 16 nodes in DC2. To disable throttle for sstableloader we set in casasndra.yaml: stream_throughput_outbound_megabits_per_sec: 0 Outgoing

RE: sstableloader throughput

2013-04-10 Thread Viktor Jevdokimov
Found https://issues.apache.org/jira/browse/CASSANDRA-3668 Weird. Best regards / Pagarbiai Viktor Jevdokimov Senior Developer Email: viktor.jevdoki...@adform.commailto:viktor.jevdoki...@adform.com Phone: +370 5 212 3063, Fax +370 5 261 0453 J. Jasinskio 16C, LT-01112 Vilnius, Lithuania Follow

Re: sstableloader throughput

2013-04-10 Thread Edward Capriolo
Stables loader was slow in 1:0:x I had better luck with rsync. It was not fixed in the 1.0.x series. On Wednesday, April 10, 2013, Viktor Jevdokimov viktor.jevdoki...@adform.com wrote: Found https://issues.apache.org/jira/browse/CASSANDRA-3668 Weird. Best regards / Pagarbiai Viktor

RE: Thrift message length exceeded

2013-04-10 Thread moshe.kranc
I also saw this when upgrading from C* 1.0 to 1.2.2, and from hector 0.6 to 0.8 Turns out the Thrift message really was too long. The mystery to me: Why no complaints in previous versions? Were some checks added in Thrift or Hector? -Original Message- From: Lanny Ripple

RE: sstableloader throughput

2013-04-10 Thread Viktor Jevdokimov
Rsync is not for our case. Is sstableloader for 1.2.x faster? From: Edward Capriolo [mailto:edlinuxg...@gmail.com] Sent: Wednesday, April 10, 2013 15:52 To: user@cassandra.apache.org Subject: Re: sstableloader throughput Stables loader was slow in 1:0:x I had better luck with rsync. It was

Re: sstableloader throughput

2013-04-10 Thread Edward Capriolo
Yes. I did confirm that the 1.1 sstable loader works much better then the 1.0 version. The changes were not easy to backport to the 1.0.X branch so it did not happen. It is likely that 1.2 is even better :) On Wed, Apr 10, 2013 at 10:38 AM, Viktor Jevdokimov viktor.jevdoki...@adform.com wrote:

RE: sstableloader throughput

2013-04-10 Thread Viktor Jevdokimov
Thanks, that could help to consider migration of the cluster to a newer version. We'll check the difference. From: Edward Capriolo [mailto:edlinuxg...@gmail.com] Sent: Wednesday, April 10, 2013 18:03 To: user@cassandra.apache.org Subject: Re: sstableloader throughput Yes. I did confirm that

Re: describe keyspace or column family query not working

2013-04-10 Thread Tyler Hobbs
DESCRIBE is a cqlsh feature, not a part of the CQL language. On Wed, Apr 10, 2013 at 2:37 AM, Kuldeep Mishra kuld.cs.mis...@gmail.comwrote: Hi , I am trying to execute following query but not working and throwing exception QUERY:-- Cassandra.Client client;

Re: describe keyspace or column family query not working

2013-04-10 Thread Vivek Mishra
Ok. A column family and keyspace created via cqlsh using cql3 is visible via cassandra-cli or thrift API? -Vivek On Wed, Apr 10, 2013 at 9:23 PM, Tyler Hobbs ty...@datastax.com wrote: DESCRIBE is a cqlsh feature, not a part of the CQL language. On Wed, Apr 10, 2013 at 2:37 AM, Kuldeep

Re: Getting NullPointerException while executing query

2013-04-10 Thread Sylvain Lebresne
On which version of Cassandra are you? I can't reproduce the NullPointerException on Cassandra 1.2.3. That being said, that query is not valid, so you will get an error message. There is 2 reasons why it's not valid: 1) in token(deep), deep is not a valid term. So you should have something

Re: describe keyspace or column family query not working

2013-04-10 Thread Tyler Hobbs
On Wed, Apr 10, 2013 at 11:09 AM, Vivek Mishra mishra.v...@gmail.comwrote: Ok. A column family and keyspace created via cqlsh using cql3 is visible via cassandra-cli or thrift API? The column family will only be visible via cassandra-cli and the Thrift API if it was created WITH COMPACT

Re: Thrift message length exceeded

2013-04-10 Thread Lanny Ripple
We are using Astyanax in production but I cut back to just Hadoop and Cassandra to confirm it's a Cassandra (or our use of Cassandra) problem. We do have some extremely large rows but we went from everything working with 1.1.5 to almost everything carping with 1.2.3. Something has changed.

Re: Thrift message length exceeded

2013-04-10 Thread Edward Capriolo
Maybe you should enable the wide row support that uses get_paged_slice instead of get_range_slice and possibly will not have the same issue. On Wed, Apr 10, 2013 at 7:29 PM, Lanny Ripple la...@spotright.com wrote: We are using Astyanax in production but I cut back to just Hadoop and Cassandra

Re: Bitmap indexes - reviving CASSANDRA-1472

2013-04-10 Thread Brian O'Neill
changing to user@ (at least until we can determine if this can/should be proposed under 1472) For those interested in analytics and set-based queries, see below... -brian --- Brian O'Neill Lead Architect, Software Development Health Market Science The Science of Better Results 2700 Horizon

Two Cluster each with 12 nodes- Cassandra database

2013-04-10 Thread Raihan Jamal
I have started working on a project in which I am using `Cassandra database`. Our production DBA's have setup `two cluster` and each cluster will have `12 nodes`. I will be using `Pelops client` to read the data from Cassandra database. Now I am thinking what's the best way to create `Cluster`