Re: unbalanced ring

2013-02-13 Thread Alain RODRIGUEZ
Maybe people think that 1.2 = Vnodes, when Vnodes are actually not mandatory and furthermore it is advised to upgrade and then, after a while, when all is running smooth, eventually switch to vnodes... 2013/2/13 Brandon Williams > On Tue, Feb 12, 2013 at 6:13 PM, Edward Capriolo > wrote: > > >

Re: Deleting old items

2013-02-13 Thread Alain RODRIGUEZ
Hi Aaron, once again thanks for this answer. "So is it possible to delete all the data inserted in some CF between 2 dates or data older than 1 month ?" "No. " Why is there no way of deleting or getting data using the internal timestamp stored alongside of any inserted column (as described here:

Deleting old items during compaction (WAS: Deleting old items)

2013-02-13 Thread Ilya Grebnov
Hi, We looking for solution for same problem. We have a wide column family with counters and we want to delete old data like 1 months old. One of potential ideas was to implement hook in compaction code and drop column which we don't need. Is this a viable option? Thanks, Ilya From: aaron

Write performance expectations...

2013-02-13 Thread kadey
Hello, New member here, and I have (yet another) question on write performance. I'm using Apache Cassandra version 1.1, Python 2.7 and Pycassa 1.7. I have a cluster of 2 datacenters, each with 3 nodes, on AWS EC2 using EBS and the RandomPartioner. I'm writing to a column family in a keyspace

Re: Write performance expectations...

2013-02-13 Thread Alain RODRIGUEZ
Is there a particular reason for you to use EBS ? Instance Store are recommended because they improve performances by reducing the I/O throttling. An other thing you should be aware of is that replicating the data to all node reduce your performance, it is more or less like if you had only one nod

Re: Cluster not accepting insert while one node is down

2013-02-13 Thread Alain RODRIGUEZ
We probably need more info like the RF of your cluster and CL of your reads and writes. Maybe could you also tell us if you use vnodes or not. I heard that Astyanax was not running very smoothly on 1.2.0, but a bit better on 1.2.1. Yet, Netflix didn't release a version of Astyanax for C*1.2. Alai

Re: Documentation/Examples for DataStax java-driver

2013-02-13 Thread Shahryar Sedghi
Source code has enough documentation in it, apparently this is how they do it with new stuff. Start with Custer class, it tells you how to write. If you still had problem let me know, I can give you sample code. On Tue, Feb 12, 2013 at 9:19 PM, Drew Kutcharian wrote: > Are there any documentati

Re: Documentation/Examples for DataStax java-driver

2013-02-13 Thread Gabriel Ciuloaica
Code has good documentation and also the example module has enough sample code to help you started. --Gabi On 2/13/13 5:31 PM, Shahryar Sedghi wrote: Source code has enough documentation in it, apparently this is how they do it with new stuff. Start with Custer class, it tells you how to writ

Size Tiered -> Leveled Compaction

2013-02-13 Thread Mike
Hello, I'm investigating the transition of some of our column families from Size Tiered -> Leveled Compaction. I believe we have some high-read-load column families that would benefit tremendously. I've stood up a test DB Node to investigate the transition. I successfully alter the column

Re: Write performance expectations...

2013-02-13 Thread Tyler Hobbs
2500 inserts per second is about what a single python thread using pycassa can do against a local node. Are you using multiple threads for the inserts? Multiple processes? On Wed, Feb 13, 2013 at 8:21 AM, Alain RODRIGUEZ wrote: > Is there a particular reason for you to use EBS ? Instance Store

Re: Documentation/Examples for DataStax java-driver

2013-02-13 Thread Edward Capriolo
Just an FYI. More appropriate for the client-dev list. On Wed, Feb 13, 2013 at 10:37 AM, Gabriel Ciuloaica wrote: > Code has good documentation and also the example module has enough sample > code to help you started. > > --Gabi > > On 2/13/13 5:31 PM, Shahryar Sedghi wrote: > > Source code has e

Re: Documentation/Examples for DataStax java-driver

2013-02-13 Thread Drew Kutcharian
@Shahryar/Gabriel I know the source code is nicely documented, but I couldn't find much info on: 1. Creating/submitting atomic/non-atomic batches. 2. Handling Counter columns Do you have any examples for that? @Edward I was under impression that client-dev mailing list was to be used by the devel

Re: Write performance expectations...

2013-02-13 Thread kadey
I'm not using multi-threads/processes. I'll try multi-threading to see if I get a boost. Thanks. Ken - Original Message - From: "Tyler Hobbs" To: user@cassandra.apache.org Sent: Wednesday, February 13, 2013 11:06:30 AM Subject: Re: Write performance expectations... 2500

Re: Documentation/Examples for DataStax java-driver

2013-02-13 Thread Shahryar Sedghi
The API allows to build your own batch through building a query I do not use that, neither counter columns. I do not build a query, I create a CQL like: String batchInsert = "BEGIN BATCH " + "INSERT INTO xyz( a,b,c, " + " VALUES ( ?, ?, ?) " + "INSERT INTO def(a

Re: Documentation/Examples for DataStax java-driver

2013-02-13 Thread Michaël Figuière
As mentioned previously the code comes with some detailed Javadoc. But you're right as well that Javadoc isn't enough. At DataStax we're currently working on a documentation for our drivers that will be as detailed as the one we provide for Apache Cassandra. Meanwhile we'll also add more code samp

Re: Documentation/Examples for DataStax java-driver

2013-02-13 Thread Edward Capriolo
@Drew This list is for cassandra users. Since the DataStax java-driver is not actually part of Cassandra. If every user comes here to talk about their driver/orm/problems they are having with code that is not part of cassandra this list will get noisy. IMHO client-dev is the right place for these

Re: [VOTE] Release Mojo's Cassandra Maven Plugin 1.2.0-1

2013-02-13 Thread Stephen Connolly
Ping On Monday, 4 February 2013, Stephen Connolly wrote: > Hi, > > I'd like to release version 1.2.0-1 of Mojo's Cassandra Maven Plugin > to sync up with the 1.2.0 release of Apache Cassandra. (a 1.2.1-1 will > follow shortly after this release, but it should be possible to use the > xpath://proj

Re: [VOTE] Release Mojo's Cassandra Maven Plugin 1.2.0-1

2013-02-13 Thread Michael Kjellman
Considering that 1.2.1 is out, and looking at your project very quickly (looks interesting)/overlaps a bit with CCMBridge no?/ I'd def say +1 :) From: Stephen Connolly mailto:stephen.alan.conno...@gmail.com>> Reply-To: "user@cassandra.apache.org" mailto:user@ca

Re: [VOTE] Release Mojo's Cassandra Maven Plugin 1.2.0-1

2013-02-13 Thread Stephen Connolly
More I'm looking for somebody who is actively sing C* to test it (there are a couple of users... The lot f you who asked me to roll another release). I will roll a 1.2.1 once I close this vote... I could close with lazy consensus, but feel more comfortable if it has ad some testing ;-) On Wednesda

Re: Documentation/Examples for DataStax java-driver

2013-02-13 Thread Drew Kutcharian
@Edward. I completely agree. I was just explaining my original rationale in posting to this mailing list. Maybe it's time to start a dedicated DataStax java-driver mailing list. On Feb 13, 2013, at 12:53 PM, Edward Capriolo wrote: > @Drew > > This list is for cassandra users. Since the Data

Re: Documentation/Examples for DataStax java-driver

2013-02-13 Thread Drew Kutcharian
That's kinda what I was thinking to, just wanted to see if there's a built-in way. On Feb 13, 2013, at 10:07 AM, Shahryar Sedghi wrote: > The API allows to build your own batch through building a query I do not use > that, neither counter columns. I do not build a query, I create a CQL like:

Re: Write performance expectations...

2013-02-13 Thread Ben Bromhead
If you are using CPython (most likely) remember to use the multiprocessing interface rather than multithreading to avoid the global interpreter lock. Cheers Ben On Thu, Feb 14, 2013 at 4:35 AM, wrote: > I'm not using multi-threads/processes. I'll try multi-threading to see if > I get a boost.

Re: Write performance expectations...

2013-02-13 Thread Ken Adey
On a single processor EC2 instance, however, multiprocessing would be useless. Ken On 2/13/2013 5:29 PM, Ben Bromhead wrote: If you are using CPython (most likely) remember to use the multiprocessing interface rather than multithreading to avoid the global interpreter lock. Cheers Ben

Cassandra Geospatial Search

2013-02-13 Thread Drew Kutcharian
Hi Guys, Has anyone on this mailing list tried to build a bounding box style (get the records inside a known bounding box) geospatial search? I've been researching this a bit and seems like the only attempt at this was by SimpleGeo guys, but there isn't much public info out there on how they di

Re: Cassandra Geospatial Search

2013-02-13 Thread Joe Stein
what about using geo hashes http://geohash.org/dr5ru2mevjppe store as column names the geo hashes geohash#dr5ru2mevjppe geohash#dr5ru2mevjpp geohash#dr5ru2mevjp geohash#dr5ru2mevj geohash#dr5ru2mev geohash#dr5ru2me geohash#dr5ru2m geohash#dr5ru2 geohash#dr5ru geohash#dr5 the rows is what you wan

Re: [VOTE] Release Mojo's Cassandra Maven Plugin 1.2.0-1

2013-02-13 Thread Mikhail Mazursky
+1. Please, release it. 2013/2/14 Stephen Connolly > More I'm looking for somebody who is actively sing C* to test it (there > are a couple of users... The lot f you who asked me to roll another > release). I will roll a 1.2.1 once I close this vote... I could close with > lazy consensus, but f