Re: Hackathon?!?

2010-03-22 Thread Eric Florenzano
Nice, I'll go! -Eric Florenzano

Re: why Cassandra 0.5.1 write speed is very slow

2010-03-22 Thread 郭鹏
The replication factor is One, The consistency level also is One. 在 2010年3月23日 上午10:21,Benjamin Black 写道: > Maybe I missed this: what replication factor and consistency level are > you using? > > 2010/3/21 郭鹏 : > > Thx, I will try it in the multi-thread mode. > > > > What's the best practice in t

Re: why Cassandra 0.5.1 write speed is very slow

2010-03-22 Thread Benjamin Black
Maybe I missed this: what replication factor and consistency level are you using? 2010/3/21 郭鹏 : > Thx, I will try it in the multi-thread mode. > > What's the best practice in the production env? > > > > 在 2010年3月21日 下午12:04,Jonathan Ellis 写道: >> >> If you're benchmarking throughput, then you abso

Re: Hackathon?!?

2010-03-22 Thread Cliff Moon
I'll be there. On 3/22/10 2:46 PM, Ben Standefer wrote: In! -Ben On Mon, Mar 22, 2010 at 2:25 PM, Dan Di Spaltro mailto:dan.dispal...@gmail.com>> wrote: Yeah, 22nd seems like its as good as its going to get. Ill bring you b-day present =) Best, On Mon, Mar 22, 2010 at 2

Re: Example of data model

2010-03-22 Thread Benjamin Black
https://www.cloudkick.com/blog/2010/mar/02/4_months_with_cassandra/ On Mon, Mar 22, 2010 at 6:51 AM, Hill, Ed A wrote: > I've been through the twissandra data model as well and it is pretty > straightforward and well explained (thanks!) - but I notice that a number of > the folks using Cassandr

Re: Consistency Level of CLI

2010-03-22 Thread Jonathan Ellis
Those are for "majority of replicas in a single datacenter." The code isn't quite finished. 2010/3/22 Patricio Echagüe > Hi all, is there any documentation for: > > ConsistencyLevel.DCQUORUM and ConsistencyLevel.DCQUORUMSYNC ? > > DC = Data Center ? > > Thanks > > > On Thu, Feb 25, 2010 at 1

Re: Consistency Level of CLI

2010-03-22 Thread Patricio Echagüe
Hi all, is there any documentation for: ConsistencyLevel.DCQUORUM and ConsistencyLevel.DCQUORUMSYNC ? DC = Data Center ? Thanks On Thu, Feb 25, 2010 at 12:12 PM, Masood Mortazavi < masoodmortaz...@gmail.com> wrote: > From the code, it appears that for "get" the default is ONE. > Column co

RE: node repair

2010-03-22 Thread Todd Burruss
what i meant was is there a delay after compaction finishes and before streaming starts? the "CompactionManger" mbean didn't show any activity. From: Jonathan Ellis [jbel...@gmail.com] Sent: Monday, March 22, 2010 10:42 AM To: user@cassandra.apache.org S

memory question

2010-03-22 Thread Todd Burruss
after running my cluster for a while performance has become unacceptable, 200+ ms for reads. if running well, i see reads <10ms. when i run iostat the disk is being hammered by reads. seems like i/o caching isn't even being used avg-cpu: %user %nice %system %iowait %steal %idle

Deleting and re-inserting row causes error in get_slice count parameter

2010-03-22 Thread Bob Florian
I'm new to Cassandra and have run into a problem that I think is a bug, but wanted to get some feedback in case I'm misunderstanding something. I've found that when I delete an entire row in a column family with super columns, and then re-insert values with the same row and super column keys, the

Re: Hackathon?!?

2010-03-22 Thread Ben Standefer
In! -Ben On Mon, Mar 22, 2010 at 2:25 PM, Dan Di Spaltro wrote: > Yeah, 22nd seems like its as good as its going to get. > > Ill bring you b-day present =) > > Best, > > > On Mon, Mar 22, 2010 at 2:20 PM, Chris Goffinet wrote: > >> Dan >> >> Did we all agree April 22 works for all? >> >> -Chri

Re: Hackathon?!?

2010-03-22 Thread Dan Di Spaltro
Yeah, 22nd seems like its as good as its going to get. Ill bring you b-day present =) Best, On Mon, Mar 22, 2010 at 2:20 PM, Chris Goffinet wrote: > Dan > > Did we all agree April 22 works for all? > > -Chris > > > On Mon, Mar 22, 2010 at 2:13 PM, Dan Di Spaltro > wrote: > >> Great - Chris, y

Re: Hackathon?!?

2010-03-22 Thread Peter Chang
Works for me. On Mon, Mar 22, 2010 at 2:20 PM, Chris Goffinet wrote: > Dan > > Did we all agree April 22 works for all? > > -Chris > > > On Mon, Mar 22, 2010 at 2:13 PM, Dan Di Spaltro > wrote: > >> Great - Chris, you still going to put together the invite? >> >> On Thu, Mar 11, 2010 at 5:36 AM

Re: Hackathon?!?

2010-03-22 Thread Chris Goffinet
Dan Did we all agree April 22 works for all? -Chris On Mon, Mar 22, 2010 at 2:13 PM, Dan Di Spaltro wrote: > Great - Chris, you still going to put together the invite? > > On Thu, Mar 11, 2010 at 5:36 AM, Jonathan Ellis wrote: > >> Ack, I agreed to speak at http://nosqleu.com/, I never did hea

Re: Hackathon?!?

2010-03-22 Thread Dan Di Spaltro
Great - Chris, you still going to put together the invite? On Thu, Mar 11, 2010 at 5:36 AM, Jonathan Ellis wrote: > Ack, I agreed to speak at http://nosqleu.com/, I never did hear a > final date but they put up a schedule online (april 20-22). > > But, 22 probably is a better date, and Eric and

Re: get ordered by value

2010-03-22 Thread Jonathan Ellis
natural order is for column names, not values 2010/3/22 Juan Manuel García del Moral : > I understand, but there isn't a way to define a data schema, and get it > sorted in the insertion,so then the natural order would match what I need to > query? > > > > 2010/3/22 Jonathan Ellis >> >> You have

Re: get ordered by value

2010-03-22 Thread Juan Manuel García del Moral
I understand, but there isn't a way to define a data schema, and get it sorted in the insertion,so then the natural order would match what I need to query? 2010/3/22 Jonathan Ellis > You have to fetch the columns and sort client-side, for now. > > 2010/3/22 Juan Manuel García del Moral : > > H

Re: get ordered by value

2010-03-22 Thread Jonathan Ellis
You have to fetch the columns and sort client-side, for now. 2010/3/22 Juan Manuel García del Moral : > Hello > > I have this: > > get SocialAds.Anonimos['3539792']; > => (super_column=Tag, > (column=1036, value=5, timestamp=1001181414) > (column=116, value=2, timestamp=1001181414) >    

get ordered by value

2010-03-22 Thread Juan Manuel García del Moral
Hello I have this: get SocialAds.Anonimos['3539792']; => (super_column=Tag, (column=1036, value=5, timestamp=1001181414) (column=116, value=2, timestamp=1001181414) (column=121988, value=2, timestamp=1001181413) (column=13838, value=3, timestamp=1001181416) (column=14105,

Re: cassandra-cli 0.6 displays hashcodes instead of column names

2010-03-22 Thread Jean-Christophe Praud
It's ok with the UTF8Type comparator. Thanks for your help On Mon, Mar 22, 2010 at 8:43 PM, Sandeep Kalidindi < deepu.kalidi...@gmail.com> wrote: > I guess this has been discussed before in the mailing list. > > @Jean-Christophe Praud - try changing the comparator in your column Family > tags f

Re: cassandra-cli 0.6 displays hashcodes instead of column names

2010-03-22 Thread Sandeep Kalidindi
I guess this has been discussed before in the mailing list. @Jean-Christophe Praud - try changing the comparator in your column Family tags from "BytesType" to "UTF8Type" in your storage-conf.yml and then restart the cluster. Let us know if you can see the human readable column values after that

cassandra-cli 0.6 displays hashcodes instead of column names

2010-03-22 Thread Jean-Christophe Praud
Hi all, I've got a problem since upgrading to Cassandra 0.6beta2/3. Instead of: cassandra> get test1.tags['5464'] => (column=width, value=500, timestamp=1268918427) => (column=transparent_color, value=00, timestamp=1268918427) => (column=resolution, value=96x96, timestamp=1268918427) => (colu

Re: Range of 'Bootstrap'?

2010-03-22 Thread Jonathan Ellis
>From the log you pasted on IRC, it's clear that the existing node is telling the loadbalancing one to use "Bootstrap" as a token but I can't see any reason for that to be happening. Attached is a patch to add some more debug logs to this process; if you can reproduce with that (after editing log4

Re: Range of 'Bootstrap'?

2010-03-22 Thread Benjamin Black
Could've misread it, it was late. Regardless, seems this should never happen. On Mon, Mar 22, 2010 at 6:19 AM, Gary Dusbabek wrote: > On Mon, Mar 22, 2010 at 01:58, Benjamin Black wrote: >> Looking at db/SystemTable.java I see the use of Bootstrap as a token >> during bootstrap, but it seems to

Re: node repair

2010-03-22 Thread Jonathan Ellis
On Mon, Mar 22, 2010 at 11:53 AM, Todd Burruss wrote: > it's very possible if i thought it wasn't working.  is there a delay between > compation and streaming? yes, it can be a significant one if you have a lot of data. you can look at the compaction mbean for progress on that side of things.

Re: CASSANDRA-721

2010-03-22 Thread Toby DiPasquale
On Mon, Mar 22, 2010 at 1:01 PM, Chris Goffinet wrote: > https://issues.apache.org/jira/browse/CASSANDRA-580 Thanks! -- Toby DiPasquale

Re: CASSANDRA-721

2010-03-22 Thread Chris Goffinet
https://issues.apache.org/jira/browse/CASSANDRA-580 On Mon, Mar 22, 2010 at 10:00 AM, Toby DiPasquale wrote: > Hi all, > > CASSANDRA-721 (https://issues.apache.org/jira/browse/CASSANDRA-721) > contains the following statement: > > "Edit: This is only a temporary solution for atomic > increment/d

CASSANDRA-721

2010-03-22 Thread Toby DiPasquale
Hi all, CASSANDRA-721 (https://issues.apache.org/jira/browse/CASSANDRA-721) contains the following statement: "Edit: This is only a temporary solution for atomic increment/decrement operation." What is the more permanent solution? Is this known yet? Seems like a reliance on ZooKeeper would not b

RE: node repair

2010-03-22 Thread Todd Burruss
it's very possible if i thought it wasn't working. is there a delay between compation and streaming? maybe i didn't see any activity and assumed it was finished. i am fairly certain that if i had seen streaming action via JMX i would not have restarted. and i know i didn't see any compaction

Re: updates on hector, a java cassandra client

2010-03-22 Thread Ned Wolpert
Ran- Are you going to make builds (jars) of Hector for each supported version of Cassandra? Or leave it in source for the time being? On Fri, Mar 19, 2010 at 8:54 PM, Ran Tavory wrote: > Hector is a java client for cassandra, see http://github.com/rantav/hector > , http://prettyprint.me/2010

RE: node repair

2010-03-22 Thread Stu Hood
Hey Todd, Repair involves 2 major compactions in addition to the streaming. More information is logged about the compactions and repair when you are using DEBUG. Do you think you might have restarted the node being repaired during the streaming process? I'm not sure we have good handling for th

RE: Example of data model

2010-03-22 Thread Hill, Ed A
I've been through the twissandra data model as well and it is pretty straightforward and well explained (thanks!) - but I notice that a number of the folks using Cassandra are using it for metric collection or event processing. I wonder if someone would be willing to describe their models as a

Re: Example of data model

2010-03-22 Thread Jonathan Ellis
http://twissandra.com/ On Mon, Mar 22, 2010 at 7:49 AM, Julio Carlos Barrera Juez wrote: > Hi all, I need an example of cassandra storage to understand better the > datamodel. I mena, an example of a little application with his > storage-conf.xml file like a little commerce with a list of clients

Re: Range of 'Bootstrap'?

2010-03-22 Thread Gary Dusbabek
On Mon, Mar 22, 2010 at 01:58, Benjamin Black wrote: > Looking at db/SystemTable.java I see the use of Bootstrap as a token > during bootstrap, but it seems to be for the system table, not other > keyspaces.  Is it used more generally than that or is this a bug? > I only see 'Bootstrap' being use

Re: Example of data model

2010-03-22 Thread Sandeep Kalidindi
http://blog.evanweaver.com/articles/2009/07/06/up-and-running-with-cassandra/ Above link should help. He explains the data model and then gives an example of building twitter like service on top of cassandra. Cheers, Deepu. On Mon, Mar 22, 2010 at 6:19 PM, Julio Carlos Barrera Juez < juliocar...

Re: Example of data model

2010-03-22 Thread Teófilo Ruiz
Hi, On Mon, Mar 22, 2010 at 13:49, Julio Carlos Barrera Juez wrote: > Hi all, I need an example of cassandra storage to understand better the > datamodel. I mena, an example of a little application with his > storage-conf.xml file like a little commerce with a list of clients and > stock. You sh

Example of data model

2010-03-22 Thread Julio Carlos Barrera Juez
Hi all, I need an example of cassandra storage to understand better the datamodel. I mena, an example of a little application with his storage-conf.xml file like a little commerce with a list of clients and stock. Thank's.

Re: Range of 'Bootstrap'?

2010-03-22 Thread Jonathan Ellis
Definitely a bug. On Mon, Mar 22, 2010 at 1:58 AM, Benjamin Black wrote: > Looking at db/SystemTable.java I see the use of Bootstrap as a token > during bootstrap, but it seems to be for the system table, not other > keyspaces.  Is it used more generally than that or is this a bug? > > On Sun, Ma

Re: Announcing OCM - The Object Cassandra Mapper

2010-03-22 Thread Charlie Mason
On Mon, Mar 22, 2010 at 8:35 AM, Ran Tavory wrote: > This looks very interesting, thank for contributing and I'm glad you found > hector useful :) Thanks, Hector has been very useful. > You mention indexing - iirc, cassandra is adding this as an internal feature > in 0.7.0, just fyi (and if I'm

Re: Announcing OCM - The Object Cassandra Mapper

2010-03-22 Thread Ran Tavory
This looks very interesting, thank for contributing and I'm glad you found hector useful :) You mention indexing - iirc, cassandra is adding this as an internal feature in 0.7.0, just fyi (and if I'm not mistaken). But I'm also wondering, how do you deal with consistency here? For example, what if