Re: Schema Design

2011-01-29 Thread aaron morton
This project may be what you are looking for, or provide some inspiration https://github.com/jbohman/logsandra Cloud Kick has an example or rolling up time series data https://www.cloudkick.com/blog/2010/mar/02/4_months_with_cassandra/ The schema below sounds reasonable. If you will always brin

Re: Cassandra + Thrift on RedHat Enterprise 5

2011-01-29 Thread Vedarth Kulkarni
How can I use Hector please can you explain me in detail ? I am new to these things. - Vedarth Kulkarni, TYBSc (Computer Science). On Sun, Jan 30, 2011 at 11:20 AM, Andrey V. Panov wrote: > Use Hector instead of pure Trift. https://github.com/rantav/hector/ > And checkout wiki. >

Re: Cassandra + Thrift on RedHat Enterprise 5

2011-01-29 Thread Vedarth Kulkarni
Thank you very much. I will try and use Hector. Vedarth Kulkarni, TYBSc (Computer Science). On Sun, Jan 30, 2011 at 11:20 AM, Andrey V. Panov wrote: > Use Hector instead of pure Trift. https://github.com/rantav/hector/ > And checkout wiki. >

Re: Cassandra + Thrift on RedHat Enterprise 5

2011-01-29 Thread Andrey V. Panov
Use Hector instead of pure Trift. https://github.com/rantav/hector/ And checkout wiki.

Cassandra + Thrift on RedHat Enterprise 5

2011-01-29 Thread Vedarth Kulkarni
I a student and developing a web crawler and I want to use Cassandra + Thrift. I successfully have started the Cassandra and Cassandra-cli. But when I use the source codes(JAVA) listed on the website, the program contains errors and when I modify it by referencing the Doc the program hangs. How sho

Re: [VOTE] 0.7.1 (attempt #2)

2011-01-29 Thread Jonathan Ellis
Looks like you have an old version of the Thrift compiler. On Sat, Jan 29, 2011 at 9:27 PM, Liangzhao Zeng wrote: > I try to re-generate the Java interface from cassandra.thrift, however, i > got error message as > >   gen-thrift-java: > >     [echo] Generating Thrift Java code from > /Documents/

Re: [VOTE] 0.7.1 (attempt #2)

2011-01-29 Thread Liangzhao Zeng
I try to re-generate the Java interface from cassandra.thrift, however, i got error message as gen-thrift-java: [echo] Generating Thrift Java code from /Documents/eclipse/MaaSWorkspace/C_7_0/interface/cassandra.thrift [exec] [FAILURE:/Documents/eclipse/MaaSWorkspace/C_7_0/inter

Re: TSocket timing out

2011-01-29 Thread Courtney Robinson
It may also be an idea to check the node's memory usage. I encountered this on a few occasions and I simply killed any unneeded process that was eating away my node's memory. In each instance it worked fine after there was about 300MB of free memory From: Patricio Echagüe Sent: Sunday, January

Re: TSocket timing out

2011-01-29 Thread Patricio Echagüe
The recommendation is to wait few milliseconds and retry. For Example if you use Hector ( I don't think it is your case), Hector will retry to different nodes in your cluster and the retry mechanisms is tunable as well. On Sat, Jan 29, 2011 at 2:20 PM, buddhasystem wrote: > > When I do a lot of

Re: count in 0.7.0

2011-01-29 Thread Jonathan Ellis
This has not changed. On Sat, Jan 29, 2011 at 3:37 PM, Oleg Proudnikov wrote: > Hi All, > > Does Cassandra 0.7.0 need to deserialize the complete row in order to count > all > columns? I know from this ML that Cassandra 0.6 did that. > > Thank you very much, > Oleg > > > -- Jonathan Ellis Pr

TSocket timing out

2011-01-29 Thread buddhasystem
When I do a lot of inserts into my cluster (>10k at a time) I get timeouts from Thrift, the TScoket.py module. What do I do? Thanks, Maxim -- View this message in context: http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/TSocket-timing-out-tp5973548p5973548.html Sent from the

count in 0.7.0

2011-01-29 Thread Oleg Proudnikov
Hi All, Does Cassandra 0.7.0 need to deserialize the complete row in order to count all columns? I know from this ML that Cassandra 0.6 did that. Thank you very much, Oleg

Argh: Data Corruption (LOST DATA) (0.7.0)

2011-01-29 Thread Dan Hendry
I am once again having severe problems with my Cassandra cluster. This time, I straight up cannot read sections of data (consistency level ONE). Client side, I am seeing timeout exceptions. On the Cassandra node, I am seeing errors as shown below. I don't understand what has happened or how to fix

Re: Is it recommended to store two types of data (not related to each other but need to be retrieved together) in one super column family ?

2011-01-29 Thread William R Speirs
I'm very new to Cassandra, but I'll pitch in my $0.02. Row look-ups are super fast, why do you think it would be more efficient to store these two rows "together" in the super column method you describe? Why would you not just look-up the rows, one after the other? If I understand correctly,

Re: Is it recommended to store two types of data (not related to each other but need to be retrieved together) in one super column family ?

2011-01-29 Thread Jonathan Ellis
This sounds reasonable to me; the general rule of thumb is, "a row should be data that you access together." The tricky part is when you have data that is accessed multiple ways for multiple queries. Sometimes the answer is "denormalize," sometimes the answer is "accept that the queries you do le

Re: Is it recommended to store two types of data (not related to each other but need to be retrieved together) in one super column family ?

2011-01-29 Thread Ertio Lew
Could someone please point me in right direction by commenting on the above ideas ? On Fri, Jan 28, 2011 at 11:50 PM, Ertio Lew wrote: > Hi, > > I have two kinds of data that I would like to fit in one super column > family; I am trying this, for the reasons of implementing fast > database retri

unsubscribe

2011-01-29 Thread Paramjeet Singh Bawa
DISCLAIMER == This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, re