Re: Questions about RackAwareStrategy and Multiple Data Centers

2010-11-19 Thread Jonathan Ellis
On Fri, Nov 19, 2010 at 5:30 AM, Jake Maizel wrote: > We see that after starting repair on one node, we get lots of GC > (However, we are not swapping and disk io seems fine).  We also see > increases in the pending queue for AE stages (Seems normal, on the > order of 40-80 pending stages).  What

Re: Data model design question

2010-11-19 Thread Alex Wu
The former. On 11/19/10 7:31 AM, Chen Xinli wrote: > 查询是完全基于当天计算的数据吗 还是基于当天和历史数据的合并? > > Nanheng Wu 编写: > > > Hi, > > Our team decided to use Cassandra as storage solution to a dataset. > I am very new to the NoSQL world and Cassandra so I am hoping to get > some help from the community: The data

Re: Pycassa: Error inserting supercolumn

2010-11-19 Thread Dipti Mathur
Thanks Jonathan. But I made changes to sync_cassandra.py file there to include the supercolumn. However looks like that has been the issue. I am not doing something right there. If I want to recreate the keyspace, how is it done? I have the yaml ready. Regards, Dipti On Fri, Nov 19, 2010 at 10:

Re: How can I get rows in groups?

2010-11-19 Thread Tyler Hobbs
Most of the high level clients do this for you. For example, pycassa and phpcassa both do this by returning an iterator from get_range() and breaking it up behind the scenes. Hector also has something similar, but I think it's in the examples section. What client are you using? (By the way, bet

Introduction to timestamps in Cassandra

2010-11-19 Thread Jérôme Verstrynge
Hi, Following a long conversation about timestamps on this email list a couple of weeks ago, I have written a post to summarize the information that was made available. Thanks to Peter Schuller for helping clarifying many issues. The post is available at: http://adamman71.blogspot.com/2010

Re: Pycassa: Error inserting supercolumn

2010-11-19 Thread Jonathan Ellis
Twissandra doesn't use supercolumns. On Fri, Nov 19, 2010 at 10:49 AM, Dipti Mathur wrote: > Hi, > While trying to insert a new supercolumn into the keyspace, I get the > following error: tweet = TWEET.insert('4c540492-efd9-11df-a192-0022fa5e3348',{'by': {'a':'to'}}) > Traceback (most r

Pycassa: Error inserting supercolumn

2010-11-19 Thread Dipti Mathur
Hi, While trying to insert a new supercolumn into the keyspace, I get the following error: >>> tweet = TWEET.insert('4c540492-efd9-11df-a192-0022fa5e3348',{'by': {'a':'to'}}) Traceback (most recent call last): File "", line 1, in File "/home/dipti/src/pycassa/pycassa/columnfamily.py", line 6

Re: Data model design question

2010-11-19 Thread Chen Xinli
查询是完全基于当天计算的数据吗 还是基于当天和历史数据的合并? Nanheng Wu 编写: Hi, Our team decided to use Cassandra as storage solution to a dataset. I am very new to the NoSQL world and Cassandra so I am hoping to get some help from the community: The dataset is pretty simple, we have for each key a number of columns with

Re: Upgrade from 7.0 beta2 to beta3

2010-11-19 Thread Jonathan Ellis
It's a compatibility bug in b3. Moving all the nodes to b3 will fix it, or upgrading the new ones to 0.7 branch instead of b3 will too. On Fri, Nov 19, 2010 at 8:40 AM, Damick, Jeffrey wrote: > > On upgrade of one of our nodes to beta3 from beta2, startup it gives: > > >  INFO [main] 2010-1

Upgrade from 7.0 beta2 to beta3

2010-11-19 Thread Damick, Jeffrey
On upgrade of one of our nodes to beta3 from beta2, startup it gives: INFO [main] 2010-11-19 14:06:09,482 Mx4jTool.java (line 68) mx4j successfuly loaded INFO [main] 2010-11-19 14:06:09,509 CassandraDaemon.java (line 77) Binding thrift service to /0.0.0.0:9160 INFO [main] 2010-11-19 14:

How can I get rows in groups?

2010-11-19 Thread altanis
Hello, I would like one of the cluster's nodes to use get_range_slices() to retrieve the values of a specific column for the entire keyspace. I obviously don't want to do it for the whole keyspace at once, so I'd like to do it in groups of n, which should be configurable. I get the first n values

Re: how to display column value in human-readable format in 0.7 beta3

2010-11-19 Thread Jonathan Ellis
you need to set default_validation_class, or metadata on the individual columns On Fri, Nov 19, 2010 at 1:27 AM, xie jinlin wrote: > thanks. > this is detail info. > ColumnFamily: PostInbox (Super) >       Columns sorted by: > org.apache.cassandra.db.marshal.UTF8Type/org.apache.cassandra.db.marsh

Questions about RackAwareStrategy and Multiple Data Centers

2010-11-19 Thread Jake Maizel
Hello, (I tried my best to read all I could before posting but I really couldn't find info to answer my questions.  So, here's my post.) I have some questions. Background: We have a 6-node Cassandra cluster running in one data center with the following config: Cassandra 0.6.6 Replicas: 3 Place