Re: What is the future of supercolumns ?

2012-01-07 Thread Aklin_81
Hmm .. it would be great if the supercolumns API remains. Also I believe we can replace the full functionality of supercolumns through composite column names in case this issue (related to reading multiple column ranges) is resolved:https://issues.apache.org/jira/browse/CASSANDRA-2710 On Sun, Jan

Re: Integration Error between Cassandra and Eclipse

2012-01-07 Thread dir dir
I am also beginner user in cassandra. Honestly I wonder, if we can download binary installer from http://cassandra.apache.org/download/ but why we have to check out from: svn http://svn.apache.org/repos/asf/cassandra/trunk/cassandra-trunk ?? What is the deference between them? Can we perform ca

Lots and Lots of CompactionReducer Threads

2012-01-07 Thread Caleb Rackliffe
Hi Everybody, JConsole tells me I've got CompactionReducer threads stacking up, consuming memory, and never going away. Eventually, my Java process fails because it can't allocate any more native threads. Here's my setup… Cassandra 1.0.5 on CentOS 6.0 4 GB of RAM 50 GB SSD HD Memtable flush t

Re: What is the future of supercolumns ?

2012-01-07 Thread Brandon Williams
On Sat, Jan 7, 2012 at 5:42 PM, Rustam Aliyev wrote: >> My suggestion is simple: don't use any deprecated stuff out there. In >> practically any case there is a good reason why it's deprecated. > > > SuperColumns are not deprecated. The supercolumn API will remain: https://issues.apache.org/jira/

Re: What is the future of supercolumns ?

2012-01-07 Thread Rustam Aliyev
My suggestion is simple: don't use any deprecated stuff out there. In practically any case there is a good reason why it's deprecated. SuperColumns are not deprecated. On Sat Jan 7 19:51:55 2012, R. Verlangen wrote: My suggestion is simple: don't use any deprecated stuff out there. In practic

Re: How to find out when a nodetool operation has ended?

2012-01-07 Thread Edward Capriolo
Cassandra would not have access to 'wall' as was is very unix-ish and Cassandra is written in java so it has to be highly portable across operating systems. On Sat, Jan 7, 2012 at 3:01 PM, R. Verlangen wrote: > " The repair will continue even if you ctrl+c nodetool, it runs on the > server not

Re: How to find out when a nodetool operation has ended?

2012-01-07 Thread R. Verlangen
" The repair will continue even if you ctrl+c nodetool, it runs on the server not the client." Hmm, didn't know that. Maybe a tweak for the nodetool that just displays a message after starting: "Started with ..." and some kind of notication (with "wall") when it's done? 2012/1/7 aaron morton >

Re: What is the future of supercolumns ?

2012-01-07 Thread R. Verlangen
My suggestion is simple: don't use any deprecated stuff out there. In practically any case there is a good reason why it's deprecated. I've seen a couple of composite-column vs supercolumn discussions in the past weeks here: I think a little bit of searching will get you around. Cheers 2012/1/7

Re: CLI exception :: A long is exactly 8 bytes: 1

2012-01-07 Thread Sasha Dolgy
Hi -- Sorry for the delay, and thanks for the response. Debug didn't print any stack traces and none are in the usual suspected places...but thanks for that hint. Didn't know that option existed. The age column is an Integer ... Updating to IntegerType worked. Thanks. On Mon, Jan 2, 2012 at

Re: Is this correct way to create a Composite Type

2012-01-07 Thread investtr
On 01/07/2012 02:38 AM, aaron morton wrote: Can you provide some context ? e.g. what client are you using ? Cheers - Aaron Morton Freelance Developer @aaronmorton http://www.thelastpickle.com On 7/01/2012, at 7:29 AM, investtr wrote: I am trying to understand the composite t

[no subject]

2012-01-07 Thread RAJASHEKAR REDDY
...Don’t waste your money on cigarettes! http://igaudi.net/new-year.link.php?qugoogleId=62r8

Re: How does Cassandra decide when to do a minor compaction?

2012-01-07 Thread Maxim Potekhin
Hello Alexandru, I just want to have a feel what activity to expect on the cluster. The load from minor compactions is not overwhelming but it seems non-negligible. Maxim On 1/7/2012 5:12 AM, Alexandru Sicoe wrote: Hi Maxim, Why do you need to know this? Cheers, Alex On Sat, Jan 7, 2012 at

Minor version upgrade and SSTable compatibilty

2012-01-07 Thread Jonas Borgström
Hi, I have some questions about SSTable compatibility when doing a minor version upgrade. For example when upgrading from 1.0.3 (Uses version "hb") to 1.0.6 (uses version "hc"). 1. Will I need to upgrade all nodes before performing streaming/repair? 2. Will it be possible to downgrade a node

Re: How does Cassandra decide when to do a minor compaction?

2012-01-07 Thread Alexandru Sicoe
Hi Maxim, Why do you need to know this? Cheers, Alex On Sat, Jan 7, 2012 at 10:03 AM, aaron morton wrote: > > http://www.datastax.com/docs/1.0/operations/tuning#tuning-compaction > > > - > Aaron Morton > Freelance Developer > @aaronmorton > http://www.thelastpickle.com > > On 7/

Re: How does Cassandra decide when to do a minor compaction?

2012-01-07 Thread aaron morton
http://www.datastax.com/docs/1.0/operations/tuning#tuning-compaction - Aaron Morton Freelance Developer @aaronmorton http://www.thelastpickle.com On 7/01/2012, at 3:17 PM, Maxim Potekhin wrote: > The subject says it all -- pointers appreciated. > > Thanks > > Maxim >

Re: OutOfMemory Errors with Cassandra 1.0.5 (fixed)

2012-01-07 Thread aaron morton
> max memtable size = 128 MB, This configuration setting is no longer used, see https://github.com/apache/cassandra/blob/trunk/conf/cassandra.yaml#L203 > I explicitly didn't put JNA on the classpath because I had a hard time > figuring out how much native memory it would actually need. Putting

Re: How to find out when a nodetool operation has ended?

2012-01-07 Thread aaron morton
The repair will continue even if you ctrl+c nodetool, it runs on the server not the client. Aside from using ops centre you can also look at TP Stats to see when there is nothing left in the AntiEntropyStage or look for a log messages from the StorageService that says… "Repair command #{} co

Re: java.lang.IllegalArgumentException occurred when creating a keyspcace with replication factor

2012-01-07 Thread aaron morton
There is lots of help in the CLI with examples. help create keyspace; Cheers - Aaron Morton Freelance Developer @aaronmorton http://www.thelastpickle.com On 7/01/2012, at 11:36 AM, R. Verlangen wrote: > Try this: > > create keyspace testkeyspace; > update keyspace testkeyspace

Re: Beginner Question - Super Column Family Alternative

2012-01-07 Thread aaron morton
>> I am not sure if this is the right place to ask such question. It is. >> I read that it is not safe to use Super Column Family. They are safe to use, but it's good to avoid them if you can. >> <>Manager_Employee >> <>#managerID:employeeID >> >> And is this the right approach to deal with n

Re: Pending on ReadStage

2012-01-07 Thread aaron morton
It may be IO, it's a good place to look http://spyced.blogspot.com/2010/01/linux-performance-basics.html Look at the logs, when messages are dropped you will see logs from StatusLogger that include TP stats and some other things. Cheers - Aaron Morton Freelance Developer @aaro

Re: Is this correct way to create a Composite Type

2012-01-07 Thread aaron morton
Can you provide some context ? e.g. what client are you using ? Cheers - Aaron Morton Freelance Developer @aaronmorton http://www.thelastpickle.com On 7/01/2012, at 7:29 AM, investtr wrote: > I am trying to understand the composite type. > Is this a right way to create a Compo

Re: Composite column docs

2012-01-07 Thread aaron morton
> It is a sweet documentation but it doesn't help me. I a lower level > documntation Read the docs and then read the code to see how it works in pycassa. Otherwise if you want low level docs the cassandra code is the place to go. Cheers - Aaron Morton Freelance Developer @aaron

Problem Compiling in C++ with Thrift

2012-01-07 Thread Antonio Martinez
Hi, I was trying to compile a simple example for connecting to a cassandra instance using the thrift interface. As a note, I am doing all of this without access to super user privileges on a linux machine. I installed thrift and the c++ generator, put the include headers on my CPLUS_INCLUDE_PATH v