Re: Is column update column-atomic or row atomic?

2011-03-16 Thread Peter Schuller
Sorry for the rather primitive question, but it's not clear to me if I need to fetch the whole row, add a column as a dictionary entry and re-insert it if I want to expand the row by one column. Help will be appreciated. As was pointed you, reading and re-inserting is definitely not the way to

Re: Getting list of active cassandra nodes

2011-03-16 Thread aaron morton
moving to user list. describe_ring() will give you a list of the token ranges and the nodes that are responsible for them http://wiki.apache.org/cassandra/API . It does not include information on which nodes are up or down or bootstrapping. Information about the state of the nodes is

swap setting on linux

2011-03-16 Thread ruslan usifov
Dear community! Please share you settings for swap on linux box

Re: swap setting on linux

2011-03-16 Thread Maki Watanabe
According to Cassandra Wiki, best strategy is no swap at all. http://wiki.apache.org/cassandra/MemtableThresholds#Virtual_Memory_and_Swap 2011/3/16 ruslan usifov ruslan.usi...@gmail.com: Dear community! Please share you settings for swap on linux box -- w3m

Upgrade to a different version?

2011-03-16 Thread Jake Maizel
We are running 0.6.6 and are considering upgrading to either 0.6.8 or one of the 0.7.x releases. What is the recommended version and procedure? What are the issues we face? Are there any specific storage gotchas we need to be aware of? Are there any docs around this process for review?

Re: where to find the stress testing programs?

2011-03-16 Thread Eric Gilmore
There are both Python and Java stress testing tools. I found the Java version easier to use. These directions (which echo the README for stress.java) may help get you going: http://www.datastax.com/docs/0.7/utilities/stress_java On Tue, Mar 15, 2011 at 9:25 AM, Jeremy Hanna

Re: Upgrade to a different version?

2011-03-16 Thread Paul Pak
Hi Jake, I'm sending this privately, because I wanted to tell you my opinion frankly. I don't know about the .6 series or .74, but so far, all of the .7 series of cassandra has been a disaster. I would think twice about switching to anything in .7 series to production until things stabilize and

memory usage for secondary indexes

2011-03-16 Thread aaron morton
Was just reading through the code to get an understanding of the memory impact for secondary indexes. The index CF is created with the same memtable settings as the parent CF (in CFMetaData.newIndexMetadata). Does this mean that when estimating JVM heap size each index should be considered as

Re: On 0.6.6 to 0.7.3 migration, DC-aware traffic and minimising data transfer

2011-03-16 Thread Jonathan Ellis
That should work then, assuming SimpleStrategy/RackUnawareStrategy. Otherwise figuring out which machines share which data gets complicated. Note that if you have room on the machines, it's going to be faster to copy the entire data set to each machine and run cleanup, than to have repair fix 3

Re: Upgrade to a different version?

2011-03-16 Thread Paul Pak
Sorry guys, that was meant to be private. My opinion stands, but I didn't want to hurt any of the dev's feelings by being too frank. I think the progress has been good in new features, but I feel we have taken a step back in relability and scalability since so many features were added without

replace one node to onother

2011-03-16 Thread ruslan usifov
Hello For example if we want change one server to another with ip address change too. How can we that eases way? For now we do nodetool removetocken, then set autobootstrap: true on new server (with the token that was on old node)

Re: Upgrade to a different version?

2011-03-16 Thread Joshua Partogi
So did you downgraded it back to 0.6.x series? On Thu, Mar 17, 2011 at 6:36 AM, Paul Pak p...@yellowseo.com wrote: Sorry guys, that was meant to be private.  My opinion stands, but I didn't want to hurt any of the dev's feelings by being too frank.  I think the progress has been good in new

Please help decipher /proc/cpuinfo for optimal Cassandra config

2011-03-16 Thread buddhasystem
Dear All, this is from my new Cassandra server. It obviously uses hyperthreading, I just don't know how to translate this to concurrent readers and writers in cassandra.yaml -- can somebody take a look and tell me what number of cores I need to assume for concurrent_reads and concurrent_writes. Is

Re: Is column update column-atomic or row atomic?

2011-03-16 Thread buddhasystem
Hello Peter, thanks for the note. I'm not looking for anything fancy. It's just when I'm looking at the following bit of Pycassa docs, it's not 100% clear to me that it won't overwrite the entire row for the key, if I want to simply add an extra column {'foo':'bar'} to the already existing row. I

Re: Upgrade to a different version?

2011-03-16 Thread Jeremy Hanna
Paul, Don't feel like you have to hold back when it comes to feedback. There is a place to vote on releases. If you have something that could potentially be critical that you can isolate, by all means chime in. Even if your vote isn't binding if you are not a committer, votes with something

Re: Please help decipher /proc/cpuinfo for optimal Cassandra config

2011-03-16 Thread Edward Capriolo
On Wed, Mar 16, 2011 at 9:58 PM, buddhasystem potek...@bnl.gov wrote: Dear All, this is from my new Cassandra server. It obviously uses hyperthreading, I just don't know how to translate this to concurrent readers and writers in cassandra.yaml -- can somebody take a look and tell me what

Re: Is column update column-atomic or row atomic?

2011-03-16 Thread Tyler Hobbs
insert() will only overwrite (or insert) the columns that you supply in the dictionary. So, if you do: cf.insert('key', {'foo': 'bar'}) and the column 'foo' doesn't exist in that row yet, the column will simply be added to the other columns in the row. On Wed, Mar 16, 2011 at 9:00 PM,

Re: reduced cached mem; resident set size growth

2011-03-16 Thread Zhu Han
On Thu, Feb 3, 2011 at 1:49 AM, Ryan King r...@twitter.com wrote: On Wed, Feb 2, 2011 at 6:22 AM, Chris Burroughs chris.burrou...@gmail.com wrote: On 01/28/2011 09:19 PM, Chris Burroughs wrote: Thanks Oleg and Zhu. I swear that wasn't a new hotspot version when I checked, but that's

Re: Is column update column-atomic or row atomic?

2011-03-16 Thread buddhasystem
Thanks for clarification, Tyler, sorry again for the basic question. I've been doing straight inserts from Oracle so far but now I need to update rows with new columns. -- View this message in context:

Re: Please help decipher /proc/cpuinfo for optimal Cassandra config

2011-03-16 Thread buddhasystem
Thanks! Docs say it's good to set it to 8*Ncores, are saying you see 8 cores in this output? I know I need to go way above default 32 with this setup. -- View this message in context:

Re: reduced cached mem; resident set size growth

2011-03-16 Thread Zhu Han
On Thu, Mar 17, 2011 at 10:27 AM, Zhu Han schumi@gmail.com wrote: On Thu, Feb 3, 2011 at 1:49 AM, Ryan King r...@twitter.com wrote: On Wed, Feb 2, 2011 at 6:22 AM, Chris Burroughs chris.burrou...@gmail.com wrote: On 01/28/2011 09:19 PM, Chris Burroughs wrote: Thanks Oleg and Zhu. I

super_column.name?

2011-03-16 Thread Michael Fortin
Hi, I've been working on a scala based api for cassandra. I've built it directly on top of thrift. I'm having a problem getting a slice of a superColumn. When I get a columnOrSuperColumn back, and call 'cos.super_column.name' and deserialize the bytes I'm not getting the expected output.

Re: AW: problems while TimeUUIDType-index-querying with two expressions

2011-03-16 Thread Jonathan Ellis
Thanks for tracking that down, Roland. I've created https://issues.apache.org/jira/browse/CASSANDRA-2347 to fix this. On Wed, Mar 16, 2011 at 10:37 AM, Roland Gude roland.g...@yoochoose.com wrote: I have applied the suggested changes in my local source tree and did run all my testcases (the

Cassandra c++ client

2011-03-16 Thread Anurag Gujral
Hi All, Anyone knows about stable C++ client for cassandra? Thanks Anurag

Re: Cassandra c++ client

2011-03-16 Thread Primal Wijesekera
You could try this, https://github.com/posulliv/libcassandra - primal From: Anurag Gujral anurag.guj...@gmail.com To: user@cassandra.apache.org Sent: Wed, March 16, 2011 9:36:25 PM Subject: Cassandra c++ client Hi All, Anyone knows about stable

Re: Cassandra c++ client

2011-03-16 Thread Narendra Sharma
libcassandra isn't vary active. Since we already has a object pool library, we went for using raw thrift in C++ instead of using any other library. Thanks, Naren On Wed, Mar 16, 2011 at 10:03 PM, Primal Wijesekera primalwijesek...@yahoo.com wrote: You could try this,