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

2011-03-15 Thread aaron morton
Perfectly reasonable, created https://issues.apache.org/jira/browse/CASSANDRA-2328 Aaron On 15 Mar 2011, at 16:52, Jonathan Ellis wrote: Sounds like we should send an InvalidRequestException then. On Mon, Mar 14, 2011 at 8:06 PM, aaron morton aa...@thelastpickle.com wrote: It's failing to

Re: Linux HugePages and mmap

2011-03-15 Thread Oleg Anastasyev
mcasandra mohitanchlia at gmail.com writes: Thanks! I think it still is a good idea to enable HiugePages and use UseLargePageSize option in JVM. What do you think? I experimented with it. It was about 10% performance improvement. But this was on 100% row cache hit. On smaller cache hit

Re: running all unit tests

2011-03-15 Thread aaron morton
There is a test target in the build script. Aron On 15 Mar 2011, at 17:29, Jeffrey Wang wrote: Hey all, We’re applying some patches to our own branch of Cassandra, and we are wondering if there is a good way to run all the unit tests. Just having JUnit run all the test classes seems

Re: reducing disk usage advice

2011-03-15 Thread Sylvain Lebresne
On Mon, Mar 14, 2011 at 8:17 PM, Karl Hiramoto k...@hiramoto.org wrote: On 03/14/11 15:33, Sylvain Lebresne wrote: CASSANDRA-1537 is probably also a partial but possibly sufficient solution. That's also probably easier than CASSANDRA-1610 and I'll try to give it a shot asap, that had been on

OldNetworkTopologyStrategy with one data center

2011-03-15 Thread Jonathan Colby
Hi - I have a question. Obviously there is no purpose in running OldNetworkTopologyStrategy in one data center. However, we want to share the same configuration in our production (multiple data centers) and pre-production (one data center) environments. My question is will

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

2011-03-15 Thread Roland Gude
Actually its not the column values that should be UUIDs in our case, but the column keys. The CF uses TimeUUID ordering and the values are just some ByteArrays. Even with changing the code to use UUIDSerializer instead of serializing the UUIDs manually the issue still exists. As far as I can

Re: Calculate memory used for keycache

2011-03-15 Thread Jean-Yves LEBLEU
One additionnal question, I don't really understand what is in the key cache. I have a column family with only one key, and the keycache size is 118 ... ? Any idea. Thks. Jean-Yves

Move token to another node

2011-03-15 Thread ruslan usifov
Hello I have follow task. I want to move token from one node to another how can i do that?

A way to break the cluster

2011-03-15 Thread Patrik Modesto
Hi, I'm did break my test cluster again. It's really strange. I use cassandra 0.7.3. This is what I did: - install node1 - install node2, auto_bootstrap: true - install node3, auto_bootstrap: true - created a keyspace with RF 1, populate with data - create a keyspace with RF 3, populate with

Re: Move token to another node

2011-03-15 Thread Sasha Dolgy
Hi Ruslan, nodetool -h target node move newtoken -sd On Tue, Mar 15, 2011 at 11:23 AM, ruslan usifov ruslan.usi...@gmail.com wrote: Hello I have follow task. I want to move token from one node to another how can i do that?

jna and swapping

2011-03-15 Thread Daniel Doubleday
Hi all strange things here: we are using jna. Log file says mlockall was successful. We start with -Xms2000M -Xmx2000M and run cassandra as root process so RLIMIT_MEMLOCK limit should have no relevance. Still cassandra is swapping ... Used swap varies between 100MB - 800MB We removed the swap

Re: OldNetworkTopologyStrategy with one data center

2011-03-15 Thread Jonathan Ellis
Yes. On Tue, Mar 15, 2011 at 4:29 AM, Jonathan Colby jonathan.co...@gmail.com wrote: Hi - I have a question. Obviously there is no purpose in running OldNetworkTopologyStrategy in one data center.  However,  we want to share the same configuration in our production (multiple data centers)

[RELEASE] 0.7.4

2011-03-15 Thread Eric Evans
Hot on the heals of 0.7.3, I'm pleased to announce 0.7.4, with bugs fixed, optimizations made, and features added[1]. Upgrading from 0.7.3 is a snap, but if you're upgrading from an earlier version, do pay special attention to the release notes[2]. If you spot any problems, let us know[3], and

where to find the stress testing programs?

2011-03-15 Thread Jonathan Colby
According to the Cassandra Wiki and OReilly book supposedly there is a contrib directory within the cassandra download containing the Python Stress Test script stress.py. It's not in the binary tarball of 0.7.3. Anyone know where to find it? Anyone know of other, maybe better stress testing

Re: where to find the stress testing programs?

2011-03-15 Thread Sasha Dolgy
the contrib folder is in the source tarball ... On Tue, Mar 15, 2011 at 5:23 PM, Jonathan Colby jonathan.co...@gmail.com wrote: According to the Cassandra Wiki and OReilly book supposedly there is a contrib directory within the cassandra download containing the Python Stress Test script

Re: where to find the stress testing programs?

2011-03-15 Thread Jeremy Hanna
contrib is only in the source download of cassandra On Mar 15, 2011, at 11:23 AM, Jonathan Colby wrote: According to the Cassandra Wiki and OReilly book supposedly there is a contrib directory within the cassandra download containing the Python Stress Test script stress.py. It's not in the

nodetool repair on cluster

2011-03-15 Thread Huy Le
Hi, We have a cluster with 12 servers and use RF=3. When running nodetool repair, do we have to run it on all nodes on the cluster or can we run on every 3rd node? Thanks! Huy -- Huy Le Spring Partners, Inc. http://springpadit.com

Re: nodetool repair on cluster

2011-03-15 Thread Daniel Doubleday
At least if you are using RackUnawareStrategy Cheers, Daniel On Mar 15, 2011, at 6:44 PM, Huy Le wrote: Hi, We have a cluster with 12 servers and use RF=3. When running nodetool repair, do we have to run it on all nodes on the cluster or can we run on every 3rd node? Thanks! Huy

Re: Calculate memory used for keycache

2011-03-15 Thread Peter Schuller
One additionnal question, I don't really understand what is in the key cache. I have a column family with only one key, and the keycache size is 118 ... ? The key cache is basically a hash table mapping row keys to sstable offsets. It avoids the need to read from the index portion of the

RE: running all unit tests

2011-03-15 Thread Jeffrey Wang
Awesome, thanks. I'm seeing some weird errors due to deleting commit logs, though (I'm running on Windows, which might have something to do with it): [junit] java.io.IOException: Failed to delete C:\Documents and

Re: Nodes frozen in GC

2011-03-15 Thread Peter Schuller
Sorry about the delay, I do believe there is a fundamental issue with compactions allocating too much memory and incurring too many garbage collections (at least with 0.6.12). [snip a lot of good info] You certainly seem to have a real issue, though I don't get the feel it's the same as the

Re: Move token to another node

2011-03-15 Thread ruslan usifov
2011/3/15 Sasha Dolgy sdo...@gmail.com Hi Ruslan, nodetool -h target node move newtoken And how add node to cluster without token?

Re: Move token to another node

2011-03-15 Thread Peter Schuller
And how add node to cluster without token? You must always have a token. You can bootstrap a node into the cluster and have it auto-select a token by leaving the initial_token setting empty, but that only makes sense if you want the new node to evenly split the largest current range. I think

Re: running all unit tests

2011-03-15 Thread Jonathan Ellis
Are you still trying to run tests manually? You need to enable junit's flag for running each test class in a separate JVM. On Tue, Mar 15, 2011 at 1:44 PM, Jeffrey Wang jw...@palantir.com wrote: Awesome, thanks. I’m seeing some weird errors due to deleting commit logs, though (I’m running on

Re: nodetool repair on cluster

2011-03-15 Thread aaron morton
AFAIK you should run it on every node. http://wiki.apache.org/cassandra/Operations#Repairing_missing_or_inconsistent_data Aaron On 16 Mar 2011, at 06:58, Daniel Doubleday wrote: At least if you are using RackUnawareStrategy Cheers, Daniel On Mar 15, 2011, at 6:44 PM, Huy Le wrote:

Cassandra Crash

2011-03-15 Thread Sanjeev Kulkarni
Hey guys, Have started facing a crash in my cassandra while reading. Here are the details. 1. single node. replication factor of 1 2. Cassandra version 0.7.3 3. Single keyspace. 5 column families. 4. No super columns 5. My data model is a little bit skewed. It results in having several small rows

Re: [RELEASE] 0.7.4

2011-03-15 Thread Mark
Still not seeing 0.7.4 as a download option on the main site? On 3/15/11 9:20 AM, Eric Evans wrote: Hot on the heals of 0.7.3, I'm pleased to announce 0.7.4, with bugs fixed, optimizations made, and features added[1]. Upgrading from 0.7.3 is a snap, but if you're upgrading from an earlier

Re: nodetool repair on cluster

2011-03-15 Thread Jonathan Ellis
right, every 3rd node is adequate w/ RUS/SimpleStrategy since each node repairs all the ranges it has replicated to it. On Tue, Mar 15, 2011 at 12:58 PM, Daniel Doubleday daniel.double...@gmx.net wrote: At least if you are using RackUnawareStrategy Cheers, Daniel On Mar 15, 2011, at 6:44 PM,

Re: Cassandra Crash

2011-03-15 Thread Jonathan Ellis
Did you upgrade from an earlier version? Did you read NEWS.txt? On Tue, Mar 15, 2011 at 4:21 PM, Sanjeev Kulkarni sanj...@locomatix.com wrote: Hey guys, Have started facing a crash in my cassandra while reading. Here are the details. 1. single node. replication factor of 1 2. Cassandra

Re: [RELEASE] 0.7.4

2011-03-15 Thread Brandon Williams
On Tue, Mar 15, 2011 at 4:26 PM, Mark static.void@gmail.com wrote: Still not seeing 0.7.4 as a download option on the main site? Artifacts are probably still syncing, try http://www.apache.org/dyn/closer.cgi?path=/cassandra/0.7.4/apache-cassandra-0.7.4-bin.tar.gz until one of them works.

Is column update column-atomic or row atomic?

2011-03-15 Thread buddhasystem
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. -- View this message in context:

Re: Seed

2011-03-15 Thread mcasandra
That is from the wiki http://wiki.apache.org/cassandra/StorageConfiguration http://wiki.apache.org/cassandra/StorageConfiguration -- View this message in context: http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/Seed-tp6162837p6174450.html Sent from the

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

2011-03-15 Thread Edward Capriolo
On Tue, Mar 15, 2011 at 5:46 PM, buddhasystem potek...@bnl.gov wrote: 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.

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

2011-03-15 Thread buddhasystem
Thanks. Can you give me a pycassa example, if possible? Thanks! -- View this message in context: http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/Is-column-update-column-atomic-or-row-atomic-tp6174445p6174487.html Sent from the cassandra-u...@incubator.apache.org mailing list

Re: Cassandra Crash

2011-03-15 Thread Sanjeev Kulkarni
Hey Jonathan, Thanks for the reply. I was earlier running 0.7.2 and upgraded it to 0.7.3. Looks like I had to run the nodetool scrub command to sanitize the sstables because of the bloomfilter bug. I did that and the Assert error went away but I'm getting Java Heap Space Out of Memory error. I

How does one node communicate with the other node?

2011-03-15 Thread Joshua Partogi
Hi there, I am trying to understand the underlying architecture of cassandra. How does one node communicate with other node? Does cassandra use Thrift or JMX to communicate with other node? Kind regards, Joshua. -- http://twitter.com/jpartogi

Re: How does one node communicate with the other node?

2011-03-15 Thread aaron morton
The internode messages are custom binary format. In the code it's in the o.a.c.net package, the Message class is the thing sent around. MessageService is the main guy handling incoming and outgoing messages. The node listens on the storage_port and listen_address as set in

How does new node know about other hosts and joins the cluster

2011-03-15 Thread mcasandra
I am assuming it is the seed node that tells who are the other member in the cluster. And then does the new node joining the cluster send join message (something like that) to other nodes or is there a master coordinator (like jboss cluster) that tells other nodes that new node has joined? --

Re: get_string_property in 0.6

2011-03-15 Thread Jonathan Ellis
[moving to user list] the things we used to expose as strings now have proper data types and their own methods, e.g. describe_cluster_name, describe_version, etc. On Tue, Mar 15, 2011 at 8:40 PM, Anurag Gujral anurag.guj...@gmail.com wrote: Hi All,           I am working on porting my

Re: How does new node know about other hosts and joins the cluster

2011-03-15 Thread Robert Coli
On Tue, Mar 15, 2011 at 5:45 PM, mcasandra mohitanch...@gmail.com wrote: I am assuming it is the seed node that tells who are the other member in the cluster. And then does the new node joining the cluster send join message (something like that) to other nodes or is there a master coordinator

Re: Cassandra Crash

2011-03-15 Thread Jonathan Ellis
I would scrub again w/ 0.7.4. On Tue, Mar 15, 2011 at 6:38 PM, Sanjeev Kulkarni sanj...@locomatix.com wrote: Hey Jonathan, Thanks for the reply. I was earlier running 0.7.2 and upgraded it to 0.7.3. Looks like I had to run the nodetool scrub command to sanitize the sstables because of the

Re: [RELEASE] 0.7.4

2011-03-15 Thread Eric Evans
On Tue, 2011-03-15 at 14:26 -0700, Mark wrote: Still not seeing 0.7.4 as a download option on the main site? Something about the site's pubsub isn't working; I'll contact INFRA. -- Eric Evans eev...@rackspace.com

Re: [RELEASE] 0.7.4

2011-03-15 Thread Eric Evans
On Tue, 2011-03-15 at 22:19 -0500, Eric Evans wrote: On Tue, 2011-03-15 at 14:26 -0700, Mark wrote: Still not seeing 0.7.4 as a download option on the main site? Something about the site's pubsub isn't working; I'll contact INFRA. https://issues.apache.org/jira/browse/INFRA-3520 -- Eric