Re: Survey: Cassandra/JVM Resident Set Size increase

2011-07-29 Thread Zhu Han
Chris, I've deployed the patch to the cluster for two days. Everything is quite good since then. Thank you! best regards, 韩竹(Zhu Han) On Sat, Jul 30, 2011 at 3:52 AM, Chris Burroughs wrote: > Thanks to everyone who responded (I think I learned a few new tricks > from seeing what you tried an

Re: Cassandra Pig with network topology and data centers.

2011-07-29 Thread Jeremy Hanna
fwiw - https://issues.apache.org/jira/browse/CASSANDRA-2970 thoughts? (please post on the ticket) On Jul 29, 2011, at 7:08 PM, Ryan King wrote: > It'd be great if we had different settings for inter- and intra-DC read > repair. > > -ryan > > On Fri, Jul 29, 2011 at 5:06 PM, Jake Luciani wrot

Re: Cassandra Pig with network topology and data centers.

2011-07-29 Thread Ryan King
It'd be great if we had different settings for inter- and intra-DC read repair. -ryan On Fri, Jul 29, 2011 at 5:06 PM, Jake Luciani wrote: > Yes it's read repair you can lower the read repair chance to tune this. > > > > On Jul 29, 2011, at 6:31 PM, Aaron Griffith > wrote: > >> I currently hav

Re: Cassandra Pig with network topology and data centers.

2011-07-29 Thread Jake Luciani
Yes it's read repair you can lower the read repair chance to tune this. On Jul 29, 2011, at 6:31 PM, Aaron Griffith wrote: > I currently have a 9 node cassandra cluster setup as follows: > > DC1: Six nodes > DC2: Three nodes > > The tokens alternate between the two datacenters. > > I have

Re: Running across multiple EC2 regions...

2011-07-29 Thread Vijay
Chris, It is internal to cassandra.(IEndpointStateChangeSubscriber)... the snitch basically starts gossiping via public ip and once it sees the Location of the node to be local (it gets notified via IESCS) and then switches to private IP (safely - flush and reconnect). hope this helps... I didnt i

Re: Running across multiple EC2 regions...

2011-07-29 Thread Chris Marino
Thanks Vijay, that helps a lot. FYI, I did read the comments but didn't understand what I was reading since I don't know what IECSC is?? Googled it but still came up empty. What is this?? Sorry, if this is obvious, but I'm pretty new to all this Thanks CM On Fri, Jul 29, 2011 at 3:18 PM,

Cassandra Pig with network topology and data centers.

2011-07-29 Thread Aaron Griffith
I currently have a 9 node cassandra cluster setup as follows: DC1: Six nodes DC2: Three nodes The tokens alternate between the two datacenters. I have hadoop installed as tasktracker/datanodes on the three cassandra nodes in DC2. There is another non cassandra node that is used as the hadoop n

Re: Running across multiple EC2 regions...

2011-07-29 Thread Vijay
"So, my question is: If we use the EC2 Snitch patch to set up across regions, will the instance's private IP/interface *ever* be used? Or will all traffic always go in and out of the public interface?? Using the public interface is slower and more expensive that the private interface. " If you use

Running across multiple EC2 regions...

2011-07-29 Thread Chris Marino
Hello, Me and some of my colleagues are about to start some experiments running Cassandra across EC2 regions using virtual networks and have some questions about how this is going to work. I've read these threads about patching the .yaml file to bind to the Listen address to the public IP... htt

Re: Survey: Cassandra/JVM Resident Set Size increase

2011-07-29 Thread Chris Burroughs
Thanks to everyone who responded (I think I learned a few new tricks from seeing what you tried and how your monitor). I didn't see any patterns in JVM, OS, cassandra versions etc. At this time I'm confident in saying CASSANDRA-2868 (and thus really http://bugs.sun.com/bugdatabase/view_bug.do?bug

Re: Problems using Thrift API in C

2011-07-29 Thread ruslan usifov
Do you have any error messages in cassandra log? 2011/7/28 Aleksandrs Saveljevs > Dear all, > > We are considering using Cassandra for storing gathered data in Zabbix (see > https://support.zabbix.com/**browse/ZBXNEXT-844for > more details). Becaus

Re: cassandra server disk full

2011-07-29 Thread Chris Burroughs
On 07/25/2011 01:53 PM, Ryan King wrote: > Actually I was wrong– our patch will disable gosisp and thrift but > leave the process running: > > https://issues.apache.org/jira/browse/CASSANDRA-2118 > > If people are interested in that I can make sure its up to date with > our latest version. Thank

Re: memory_locking_policy parameter in cassandra.yaml for disabling swap - has this variable been renamed?

2011-07-29 Thread Jonathan Ellis
On Fri, Jul 29, 2011 at 4:35 AM, Terje Marthinussen wrote: > "What is the origin of the mmap > is substantially faster" claim? The origin is the performance testing we did when adding mmap'd i/o. I believe Chris Goffinet also found a double-digit percentage performance improvement at Digg and/or

Cassandra bulk import confusion

2011-07-29 Thread Jeff Schmidt
Hello: I'm relatively new to Cassandra, but I've been searching around, and it looks like Cassandra 0.8.x has improved support for bulk importing of data. I keep finding references to the json2sstable command, and I've read about that on the Datastax and Apache documentation pages. There's a

Re: Problems using Thrift API in C

2011-07-29 Thread Aleksandrs Saveljevs
We have installed Thrift from the official repository (trunk, revision 1152120) and our code now sets keyspace successfully. Apparently, a related bug has been fixed in Thrift after the release of Thrift 0.6.1. We shall share some example C code if we manage to get this working. On 07/28/2011

Re: memory_locking_policy parameter in cassandra.yaml for disabling swap - has this variable been renamed?

2011-07-29 Thread Terje Marthinussen
On Fri, Jul 29, 2011 at 6:29 AM, Peter Schuller wrote: > > I would love to understand how people got to this conclusion however and > try to find out why we seem to see differences! > > I won't make any claims with Cassandra because I have never bothered > benchmarking the different in CPU usage

Re: Cassandra auto keyspace operation using script

2011-07-29 Thread Sorin Julean
Hey, Try: echo *-e* "connnet localhost/9160;* \n*show keyspace*;*" | bin/cassandra-cli Regards, Sorin On Fri, Jul 29, 2011 at 9:54 AM, 祝海通 wrote: > In our Cassandra test for YCSB benchmark, we want to create column family > and drop keyspace with script automatically. > But I fount that in ou

Cassandra auto keyspace operation using script

2011-07-29 Thread 祝海通
In our Cassandra test for YCSB benchmark, we want to create column family and drop keyspace with script automatically. But I fount that in our script. /bin/cassandra-cli; connect localhost/9160; show keyspace; can not execute. Using the "" does not work. and Using echo "connnet localhost/9160; sho

AW: results of index slice query

2011-07-29 Thread Roland Gude
Hi, I have so far not been able to reproduce this bug on any other cluster than our production cluster which started with the behavior only after the upgrade from 0.7.5 to 0.7.7 I have attached logs to the issue but I have absolutely no clue how to move forward. Any ideas anybody? -Ursprün

Re: memory_locking_policy parameter in cassandra.yaml for disabling swap - has this variable been renamed?

2011-07-29 Thread Peter Schuller
> It clearly isn't. There is definitely work involved for the CPU also when > doing mmap. It is just that you move it from context switching and small I/O > buffer copying to memory management. *All* memory access a process does is subject to the rules of the memory management unit of the CPU, so