Re: CQLSSTableWriter memory leak

2014-06-06 Thread Xu Zhongxing
We figured out the reason for the growing memory usage. When adding rows, if flush-to-disk operation is done in SStableSimpleUnsortedWriter.newRow(). But for the compound primary key case, when the clustering key is identical, there is no new row created. So the single huge row is kept in the

Re: Bad Request: Type error: cannot assign result of function token (type bigint) to id (type int)

2014-06-06 Thread Laing, Michael
select * from test_paging where *token(*id*)* token(0); ml On Fri, Jun 6, 2014 at 1:47 AM, Jonathan Haddad j...@jonhaddad.com wrote: Sorry, the datastax docs are actually a bit better: http://www.datastax.com/documentation/cql/3.0/cql/cql_using/paging_c.html Jon On Thu, Jun 5, 2014 at

Re: Bad Request: Type error: cannot assign result of function token (type bigint) to id (type int)

2014-06-06 Thread Jack Krupansky
The message does seem a little odd in that it refers to “assign”, but it would make more sense to say “compare”. -- Jack Krupansky From: Kevin Burton Sent: Friday, June 6, 2014 1:22 AM To: user@cassandra.apache.org Subject: Bad Request: Type error: cannot assign result of function token (type

ANNOUNCEMENT: cassandra-aws project

2014-06-06 Thread Oleg Dulin
Colleagues: I'd like to announce a pet project I started: https://github.com/olegdulin/cassandra-aws What I would like to accomplish as an end-goal is an Amazon marketplace AMI that makes it easy to configure a new Cassandra cluster or add new nodes to an existing Cassandra cluster, w/o

Re: ANNOUNCEMENT: cassandra-aws project

2014-06-06 Thread Philippe Dupont
Hi, I'am interested to know differences between your AMI and the Datastax one, already available in the market place. Thanks, Philippe *Philippe Dupont* root Tel. +33(0)1.84.17.73.88 Mob. +33(0)6.10.14.58.26 [image: Description : http://cdn.teads.tv/images/logo_Teads_100.gif]

Re: ANNOUNCEMENT: cassandra-aws project

2014-06-06 Thread Michael Shuler
On 06/06/2014 09:57 AM, Oleg Dulin wrote: I'd like to announce a pet project I started: https://github.com/olegdulin/cassandra-aws Cool :) https://github.com/riptano/ComboAMI is the DataStax AMI repo. What I would like to accomplish as an end-goal is an Amazon marketplace AMI that makes it

Re: ANNOUNCEMENT: cassandra-aws project

2014-06-06 Thread Oleg Dulin
I guess I didn't know about the ComboAMI! Thanks! I'll look into this. I have been rolling my own AMIs for a simple reason -- we have on-premises environments and in AWS. I wanted them to be the same, structurally, so I used our on-prem configurations as a starting point. Regards, Oleg On

python fast table copy/transform (subject updated)

2014-06-06 Thread Laing, Michael
Hi Marcelo, I have updated the prerelease app in this gist: https://gist.github.com/michaelplaing/37d89c8f5f09ae779e47 I found that it was too easy to overrun my Cassandra clusters so I added a throttle arg which by default is 1000 rows per second. Fixed a few bugs too, reworked the args, etc.

Re: Bad Request: Type error: cannot assign result of function token (type bigint) to id (type int)

2014-06-06 Thread Kevin Burton
Thanks!! Yes. I completely missed that. Not sure why… :) Appreciate the help! On Fri, Jun 6, 2014 at 2:59 AM, Laing, Michael michael.la...@nytimes.com wrote: select * from test_paging where *token(*id*)* token(0); ml On Fri, Jun 6, 2014 at 1:47 AM, Jonathan Haddad j...@jonhaddad.com

Re: VPC AWS

2014-06-06 Thread Jonathan Haddad
This may not help you with the migration, but it may with maintenance management. I just put up a blog post on managing VPC security groups with a tool I open sourced at my previous company. If you're going to have different VPCs (staging / prod), it might help with managing security groups.

Data model for streaming a large table in real time.

2014-06-06 Thread Kevin Burton
We have the requirement to have clients read from our tables while they're being written. Basically, any write that we make to cassandra needs to be sent out over the Internet to our customers. We also need them to resume so if they go offline, they can just pick up where they left off. They