A question to OutboundTcpConnection.expireMessages()

2014-01-27 Thread Lu, Boying
Hi, All, When I read the codes of OutboundTcpConnection.expireMessages(), I found the following snippet in a loop: if (qm.timestamp >= System.currentTimeMillis() - qm.message.getTimeout()) return; My understanding is that this method is to remove all the expired messages fro

RE: Centralized tool to install and manage C* from one machine

2014-01-27 Thread Paco Trujillo
Hi To manage the cluster we are using the OpsCenter, it is a free web tool from Datastax that allow you basic execute basic operations in any node on the cluster. It also contain differents metrics which you can add to a kind of dashboard and monitoring the most important parameters in the clus

Re: Centralized tool to install and manage C* from one machine

2014-01-27 Thread Kumar Ranjan
Thank you Michael. I am trying out Priam as we speak and will post an update of my experience with different tools. Again. Thank you. -- K On Tue, Jan 28, 2014 at 12:29 AM, Michael Shuler wrote: > On 01/27/2014 10:34 PM, Kumar Ranjan wrote: > >> I am used to working with CCM for testing. For pro

Re: Centralized tool to install and manage C* from one machine

2014-01-27 Thread Michael Shuler
On 01/27/2014 10:34 PM, Kumar Ranjan wrote: I am used to working with CCM for testing. For production, I depend on installing cassandra manually. Is there a proven tool to install and manage multinode cassandra cluster? If you have any experience, please let me know. A good answer will depend o

Centralized tool to install and manage C* from one machine

2014-01-27 Thread Kumar Ranjan
I am used to working with CCM for testing. For production, I depend on installing cassandra manually. Is there a proven tool to install and manage multinode cassandra cluster? If you have any experience, please let me know.

unsubscribe

2014-01-27 Thread Michael Hayes

Re: Help me on Cassandra Data Modelling

2014-01-27 Thread Naresh Yadav
yes thunder you are right, i had simplified that by moving *tags *search(partial/exact) in separate column family tagcombination which will act as index for all search based on tags and in my my original metricresult table will store tagcombinationid and time in columns otherwise it was getting com

Re: EOFException in bulkloader, then IllegalStateException

2014-01-27 Thread Robert Coli
On Mon, Jan 27, 2014 at 5:44 AM, Erik Forsberg wrote: > On 2014-01-27 12:56, Erik Forsberg wrote: > > This is on Cassandra 1.2.1. I know that's pretty old, but I would like to > avoid upgrading until I have made this migration from old to new hardware. > Upgrading to 1.2.13 might be an option. >

RE: No deletes - is periodic repair needed? I think not...

2014-01-27 Thread Donald Smith
Last week I made a feature request to apache cassandra along these lines: https://issues.apache.org/jira/browse/CASSANDRA-6611 Don From: Edward Capriolo [mailto:edlinuxg...@gmail.com] Sent: Monday, January 27, 2014 4:05 PM To: user@cassandra.apache.org Subject: Re: No deletes - is periodic repa

Re: No deletes - is periodic repair needed? I think not...

2014-01-27 Thread Edward Capriolo
If you have only ttl columns, and you never update the column I would not think you need a repair. Repair cures lost deletes. If all your writes have a ttl a lost write should not matter since the column was never written to the node and thus could never be resurected on said node. Unless i am mi

Hadoop kills Cassandra

2014-01-27 Thread Plotnik, Alexey
For some reason when my map-reduce job is almost complete, all mappers (~40) begin to connect to a single Cassandra node. This noe then die due to Java Heap space error. It looks like Hadoop is misconfigured. Valid behavior for me: Each mapper should iterate only a local node. How can I configu

ClientOptions wiki page update : DataNucleus client

2014-01-27 Thread Andy Jefferson
Hi, The page https://wiki.apache.org/cassandra/ClientOptions06 has a list of clients available for people to use Cassandra through. It currently has (in the Java section) "DataNucleus-Cassandra plug-in" by Pedro Gomes. This was an "unofficial" user contrib, that used Thrift and was incomplete.

Re: Help me on Cassandra Data Modelling

2014-01-27 Thread Thunder Stumpges
Hey Naresh, You asked a similar question a week or two ago. It looks like you have simplified your needs quite a bit. Were you able to adjust your requirements or separate the issue? You had a complicated time dimension before, as well as a single "query" for multiple AND cases on tags. > c)

Re: Help me on Cassandra Data Modelling

2014-01-27 Thread Naresh Yadav
Thanks Jonathan for guiding me..i just want to confirm my understanding : create columnfamily tagcombinations { partialtags text, tagcombinationid text, tagcombinationtags set Primary Key((partialtags), tagcombinationid) } IF i need to store TWO tagcombination TC1 as India, Pencil A

Achilles 3.0.1 release

2014-01-27 Thread DuyHai Doan
Hello all I would like to share with you the release of *Achilles 3.0.1 *( https://github.com/doanduyhai/Achilles/ ). With this release *Achilles* will support all new features from *Cassandra 2.0* For those who don't know, Achilles is a Java object

Re: EOFException in bulkloader, then IllegalStateException

2014-01-27 Thread Erik Forsberg
On 2014-01-27 12:56, Erik Forsberg wrote: This is on Cassandra 1.2.1. I know that's pretty old, but I would like to avoid upgrading until I have made this migration from old to new hardware. Upgrading to 1.2.13 might be an option. Update: Exactly the same behaviour on Cassandra 1.2.13. Thanks

Re: GC eden filled instantly (any size). Dropping messages.

2014-01-27 Thread Jonathan Lacefield
Hello, A couple of items, 1) your reads are going to be very slow with that many SSTables being accessed in the worse case. Personally i have never seen 72 SStables being accessed before, if I'm reading that correctly. 2) 16GB of Heap is very large and may actually increase the duratio

Re: Help me on Cassandra Data Modelling

2014-01-27 Thread Jonathan Lacefield
Hello, The trick with this data model is to get to partition based, and/or cluster based access pattern so C* returns results quickly. In C* you want to model your tables based on your query access patterns and remember that writes are cheap and fast in C*. So, try something like the followi

Re: No deletes - is periodic repair needed? I think not...

2014-01-27 Thread Laing, Michael
Thanks Sylvain, Your assumption is correct! So I think I actually have 4 classes: 1.Regular values, no deletes, no overwrites, write heavy, variable ttl's to manage size 2.Regular values, no deletes, some overwrites, read heavy (10 to 1), fixed ttl's to manage size 2.a. Regular values, n

Help me on Cassandra Data Modelling

2014-01-27 Thread Naresh Yadav
Hi all, Urgently need help on modelling this usecase on Cassandra. I have concept of tags and tagcombinations. For example U.S.A and Pen are two tags AND if they come together in some definition then register a tagcombination(U.S.A-Pen) for that.. *tags *(U.S.A, Pen, Pencil, India, Shampoo) *tag

GC eden filled instantly (any size). Dropping messages.

2014-01-27 Thread Dimetrio
No one advice did't help to me for reduce GC load I tried these: MAX_HEAP_SIZE from default(8GB) to 16G with HEAP_NEWSIZE from 400M to 9600M key cache on/off compacting memory size and other limits 15 c3.4xlarge nodes (adding 5 nodes to 10 nodes cluster did't help): and many other Reads ~5000 o

EOFException in bulkloader, then IllegalStateException

2014-01-27 Thread Erik Forsberg
Hi! I'm bulkloading from Hadoop to Cassandra. Currently in the process of moving to new hardware for both Hadoop and Cassandra, and while testrunning bulkload, I see the following error: Exception in thread "Streaming to /2001:4c28:1:413:0:1:1:12:1" java.lang.RuntimeException: java.io.EOFExc

Re: Opscenter Entreprise work without licence ?

2014-01-27 Thread Bonnet Jonathan .
Thanks for all who answear me.

Re: Crashed node takes more than an hour to join the ring

2014-01-27 Thread Cyril Scetbon
I Forgot to say that we use version 1.2.2 (we'll update soon but I didn't see any change about that in CHANGES.txt) -- Cyril SCETBON On 27 Jan 2014, at 12:01, Cyril Scetbon wrote: > Hi, > > When one node has crashed for system reasons, it takes more than an hour to > come back in the ring. D

Re: How to add a new DC to cluster in Cassandra 2.x

2014-01-27 Thread Cyril Scetbon
If true, it means that adding a datacenter or bootstrapping a new node will be a more complex and slower operation than it is actually... -- Cyril SCETBON On 23 Jan 2014, at 21:53, Robert Coli wrote: > Rebuild (like bootstrap) only streams data from a single source replica per > range. IMO,

Re: No deletes - is periodic repair needed? I think not...

2014-01-27 Thread Sylvain Lebresne
By periodic repair, I'll assume you mean "having to run repair every gc_grace period to make sure no deleted entries resurrect". With that assumption: > 1. Regular values, no deletes, no overwrites, write heavy, ttl's to manage > size > Since 'repair within gc_grace' is about avoiding value that

cqlc - type safe CQL statements in Go

2014-01-27 Thread Ben Hood
Hi, I just wanted to share a Cassandra project that I've been working on. cqlc generates Go code from your Cassandra schema so that you can write type safe CQL statements in Go with a natural query syntax. It's aimed at people using CQL in Golang apps who are looking to reduce boilerplate code.

Re: No deletes - is periodic repair needed? I think not...

2014-01-27 Thread Duncan Sands
Hi Michael, On 25/01/14 23:55, Laing, Michael wrote: I have a simple set of tables that can be grouped as follows: 1. Regular values, no deletes, no overwrites, write heavy, ttl's to manage size my understanding is that using TTL is much like deleting, and implies you need to do repair. Be