Re: Re: Cassandra start/stop scripts

2011-07-26 Thread jonathan . colby
A simple kill without -9 should work. Have you tried that? On , Jason Pell wrote: Check out the rpm packages from Cassandra they have init.d scripts that work very nicely, there are debs as well for ubuntu Sent from my iPhone On Jul 27, 2011, at 3:19, Priyanka priya...@gmail.com> wrote:

Re: Stress test using Java-based stress utility

2011-07-26 Thread Nilabja Banerjee
Thank you Jonathan.. :) On 26 July 2011 20:08, Jonathan Ellis wrote: > cassandra.db.Caches > > On Tue, Jul 26, 2011 at 2:11 AM, Nilabja Banerjee > wrote: > > Thank you every one it is working fine. > > > > I was watching jconsole behavior...can tell me where exactly I can find " > > Rece

Recovering from a multi-node cluster failure caused by OOM on repairs

2011-07-26 Thread Teijo Holzer
Hi, I thought I share the following with this mailing list as a number of other users seem to have had similar problems. We have the following set-up: OS: CentOS 5.5 RAM: 16GB JVM heap size: 8GB (also tested with 14GB) Cassandra version: 0.7.6-2 (also tested with 0.7.7) Oracle JDK version: 1.6.

Re: Cassandra allocation unit size

2011-07-26 Thread Jonathan Ellis
You should see this thread about Cassandra with a SAN: http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/Cassandra-on-iSCSI-td5945217.html On Tue, Jul 26, 2011 at 4:38 PM, Andres Rodriguez Contreras wrote: > Hi, which is the allocation unit size to format a hard drive to > use Cass

Cassandra allocation unit size

2011-07-26 Thread Andres Rodriguez Contreras
Hi, which is the allocation unit size to format a hard drive to use Cassandra, usingUbuntu server and a SAN (Storage Area Network).

"Internal error processing get" during bootstrap

2011-07-26 Thread Rafael Almeida
Hello, I'm evaluating cassandra for use in my system. I could add approximately 16 million items using a single node. I'm using libcassandra (I can find my way through its code when I need to) to connect to it and I already have some infrastructure for handling and adding those items (I was usi

Re: Cassandra start/stop scripts

2011-07-26 Thread Jason Pell
Check out the rpm packages from Cassandra they have init.d scripts that work very nicely, there are debs as well for ubuntu Sent from my iPhone On Jul 27, 2011, at 3:19, Priyanka wrote: > I do the same way... > > On Tue, Jul 26, 2011 at 1:07 PM, mcasandra [via [hidden email]] <[hidden > ema

Re: Repair fails with java.io.IOError: java.io.EOFException

2011-07-26 Thread Sameer Farooqui
Thanks for the info guys. I'm running compaction on the two very highly loaded nodes now in hopes of the data volume going down. But I'm skeptical because I don't see how it got so unbalanced in the first place (all nodes were up while the writes were being injected). I should have an update tomo

Re: Predictable low RW latency, SLABS and STW GC

2011-07-26 Thread Peter Schuller
> Restarting the service will drop all the memmapped caches, cassandra caches > are saved / persistent and you can also use memcachd if you want. Well, the OS won't evict everything from page cache just because the last process to map them exits. That said, since restarts tend to have secondary e

Re: Cassandra start/stop scripts

2011-07-26 Thread Joaquin Casares
Did you install via a package or tarball binaries? Packages allow you to run cassandra as a service with sudo service cassandra But if you are running via tarballs, then yes, running a kill command against Cassandra is the way to do it since Cassandra runs in crash-only mode. Kill would work ho

Re: sstableloader throws storage_port error

2011-07-26 Thread John Conwell
After much research and experimentation, I figured out how to get sstableloader running on the same machine as a live cassandra node instance. The key, as Jonathan stated is to configure sstableloader to use a different ipaddress than the running cassandra instance is using. To do this, I ran thi

Re: Slow Reads

2011-07-26 Thread Priyanka
this is how my data looks “rowkey1”:{ “supercol1”:{ “col1”:T,”col2”:C} “supercol2”:{“col1”:C,”col2”:T } “supercol3”:{ “col1”:C,”col2”:T} } "rowkey2”:{ “supercol1”:{ “col1”:A,”col2”:A} “supercol2”:{“col1”:A,”col2”:T }

Re: Slow Reads

2011-07-26 Thread Priyanka Ganuthula
Supercolumn has two columns and each column has only one byte. It is a bit faster but not significant. On Tue, Jul 26, 2011 at 12:49 PM, Jake Luciani wrote: > It doesn't read the entire row, but it does read a section of the row from > disk... > > How big is each supercolumn? If you re-read the

Re: Slow Reads

2011-07-26 Thread Priyanka Ganuthula
Thanks Philippe , I have a question here...I am specifying the required super column.Does it still need to read the entire row? Or is it because am listing all the slices and then going to each slice and picking data for the required super column? SlicePredicate slicePredicate = new SlicePredicate(

Re: Cassandra start/stop scripts

2011-07-26 Thread Priyanka
I do the same way... On Tue, Jul 26, 2011 at 1:07 PM, mcasandra [via cassandra-u...@incubator.apache.org] < ml-node+6622977-1598721269-336...@n2.nabble.com> wrote: > I need to write cassandra start/stop script. Currently I run "cassandra" to > start and kill -9 to stop. > > Is this the best way?

Re: Slow Reads

2011-07-26 Thread Sylvain Lebresne
On Tue, Jul 26, 2011 at 5:39 PM, Priyanka wrote: > > Hello All, > >          I am doing some read tests on Cassandra on a single node.But they > are turning up to be very slow. > Here is the data model in detail. > I am using a super column family.Cassandra has total 970 rows and each row > has 62

Re: Slow Reads

2011-07-26 Thread Jake Luciani
It doesn't read the entire row, but it does read a section of the row from disk... How big is each supercolumn? If you re-read the data does the query time get faster? On Tue, Jul 26, 2011 at 11:59 AM, Philippe wrote: > i believe it's because it needs to read the whole row to get to your sup

Re: Slow Reads

2011-07-26 Thread Philippe
i believe it's because it needs to read the whole row to get to your super column. you might have to reconsider your model. Le 26 juil. 2011 17:39, "Priyanka" a écrit : > > Hello All, > > I am doing some read tests on Cassandra on a single node.But they > are turning up to be very slow. > Here is

Slow Reads

2011-07-26 Thread Priyanka
Hello All, I am doing some read tests on Cassandra on a single node.But they are turning up to be very slow. Here is the data model in detail. I am using a super column family.Cassandra has total 970 rows and each row has 620901 super columns and each super column has 2 columns.

Re: sstableloader throws storage_port error

2011-07-26 Thread John Conwell
If I have Cassandra already running on my machine, how do I configure sstableloader to run on a different IP (127.0.0.2). Also, does that mean in order to use sstableloader on the same machine as an running Cassandra node, I have to have two NIC cards? I looked around for any info about how to co

Re: Stress test using Java-based stress utility

2011-07-26 Thread Jonathan Ellis
cassandra.db.Caches On Tue, Jul 26, 2011 at 2:11 AM, Nilabja Banerjee wrote: > Thank you every one it is working fine. > > I was watching jconsole behavior...can tell me where exactly I can find " > RecentHitRates" : > > Tuning for Optimal Caching: > > Here they have given one example of that

Re: do I need to add more nodes? minor compaction eat all IO

2011-07-26 Thread Jim Ancona
On Mon, Jul 25, 2011 at 6:41 PM, aaron morton wrote: > There are no hard and fast rules to add new nodes, but here are two > guidelines: > > 1) Single node load is getting too high, rule of thumb is 300GB is probably > too high. What is that rule of thumb based on? I would guess that working se

[RELEASE] Apache Cassandra 0.8.2 released

2011-07-26 Thread Sylvain Lebresne
The Cassandra team is pleased to announce the release of Apache Cassandra version 0.8.2. Cassandra is a highly scalable second-generation distributed database, bringing together Dynamo's fully distributed design and Bigtable's ColumnFamily-based data model. You can read more here: http://cassand

cassandra server disk full

2011-07-26 Thread Donna Li
I means the best way is that full disk server will not influence the service of cluster and the server can be automatic come back to work after clean the disk. Best Regards Donna li -邮件原件- 发件人: aaron morton [mailto:aa...@thelastpickle.com] 发送时间: 2011年7月26日 6:25 收件人: user@cassandra.apa

Re: Stress test using Java-based stress utility

2011-07-26 Thread Nilabja Banerjee
Thank you every one it is working fine. I was watching jconsole behavior...can tell me where exactly I can find " *RecentHitRates" : *Tuning for Optimal Caching: Here they have given one example of that * http://www.datastax.com/docs/0.8/operations/cache_tuning#configuring-key-and-row-caches

Re: Capacity Planning

2011-07-26 Thread aaron morton
See the "Edward Capriolo (media6degrees) – Real World Capacity Planning: Cassandra on Blades and Big Iron" at http://www.datastax.com/events/cassandrasf2011/presentations Open ended questions like this are really hard to answer. It's a lot easier for people if you provide some context, some ide

Re: Cassandra 0.7.8 and 0.8.1 fail when major compaction on 37GB database

2011-07-26 Thread lebron james
I have only one CF with one UTF8 column and without indexes. in column always 1 byte of data and keys is 16byte strings.

Re: Stress test using Java-based stress utility

2011-07-26 Thread aaron morton
It's in the source distribution under tools/stress see the instructions in the README file and then look at the command line help (bin/stress --help). Cheers - Aaron Morton Freelance Cassandra Developer @aaronmorton http://www.thelastpickle.com On 26 Jul 2011, at 19:40, CASSAND

cassandra server disk full

2011-07-26 Thread Donna Li
Actually I was wrong�C our patch will disable gosisp and thrift but leave the process running: Could cassandra server be normal without restart after clear the disk? Best Regards Donna li -邮件原件- 发件人: Ryan King [mailto:r...@twitter.com] 发送时间: 2011年7月26日 1:53 收件人: user@cassandra

Re: Repair fails with java.io.IOError: java.io.EOFException

2011-07-26 Thread aaron morton
Was guessing something like a token move may have happened in the past. Good suggestion to also kick off a major compaction. I've seen that make a big difference even for apps that do not do deletes, but do do overwrites. Cheers - Aaron Morton Freelance Cassandra Developer @aa

Re: Counter consistency - are counters idempotent?

2011-07-26 Thread David Boxenhorn
I think that Yang Yang's comment on https://issues.apache.org/jira/browse/CASSANDRA-2495 is correct. TTL could be used to expire the history. The TTL value could either be a configurable parameter, or part of the counter API. On Mon, Jul 25, 2011 at 9:48 PM, Aaron Turner wrote: > On Mon, Jul 2

Re: Cassandra 0.7.8 and 0.8.1 fail when major compaction on 37GB database

2011-07-26 Thread aaron morton
Have you tried some of the ideas about reducing the memory pressure ? How many CF's + second indexes do you have? Cheers - Aaron Morton Freelance Cassandra Developer @aaronmorton http://www.thelastpickle.com On 26 Jul 2011, at 17:10, lebron james wrote: > I have only 4GB on s

Capacity Planning

2011-07-26 Thread CASSANDRA learner
Can you guys please explain how to do capacity planning in cassandra

Re: Stress test using Java-based stress utility

2011-07-26 Thread CASSANDRA learner
Hi,, I too wanna know what this stress tool do? What is the usage of this tool... Please explain On Fri, Jul 22, 2011 at 6:39 PM, Jonathan Ellis wrote: > What does nodetool ring say? > > On Fri, Jul 22, 2011 at 12:43 AM, Nilabja Banerjee > wrote: > > Hi All, > > > > I am following this foll

Re: Repair fails with java.io.IOError: java.io.EOFException

2011-07-26 Thread Sylvain Lebresne
> If they are and repair has completed use node tool cleanup to remove the > data the node is no longer responsible. See bootstrap section above. I've seen that said a few times so allow me to correct. Cleanup is useless after a repair. 'nodetool cleanup' removes rows the node is not responsible a