Re: UUIDs whose alphanumeric order is the same as their chronological order

2010-06-23 Thread David Boxenhorn
"Secondary reason is probably the ordering, and desire to stay standards compliant." My UUIDs are standards-compliant. They are of type 4. The type is encoded in the format: --4xxx-8xxx- . On Wed, Jun 23, 2010 at 9:54 AM, David Boxenhorn wrote: > Having a physical loca

Re: UUIDs whose alphanumeric order is the same as their chronological order

2010-06-23 Thread Tatu Saloranta
On Tue, Jun 22, 2010 at 11:54 PM, David Boxenhorn wrote: > Having a physical location encoded in the UUID *increases* the chance of a > collision, because it means fewer random bits. There definitely will be more > than one UUID created in the same clock unit on the same machine! The same > bits t

Re: Never ending compaction

2010-06-23 Thread Peter Schuller
[ the following is some hefty speculation and not based on production experience with cassandra specifically ] > *never* complete. And compactions are expensive. They essentially make a > node useless. So, we're left with 3/4 of a cluster, since we only have 4 > nodes. Do you have a feel for why

Re: UUIDs whose alphanumeric order is the same as their chronological order

2010-06-23 Thread David Boxenhorn
Tatu, I did read your comments - and I appreciate them very much! I want someone to argue with me (using good arguments) since what I'm doing *does* seem weird to me - because no one else is doing it. What I mean by readable is that the sort order of my UUIDs are obvious to humans. What I mean b

Re: Uneven distribution using RP

2010-06-23 Thread aaron morton
That sounds odd: - do you have an idea of how many inserts per second / minute you think you are sending? - Is is just one node thats flushing mem tables fast? - Can you send the column family for the super busy CF (nodetool cfstats) - Can you send the storage-conf.xml - Can you send the nodetool

Re: nodetool loadbalance : Strerams Continue on Non Acceptance of New Token

2010-06-23 Thread Gary Dusbabek
On Tue, Jun 22, 2010 at 20:16, Arya Goudarzi wrote: > Hi, > > Please confirm if this is an issue and should be reported or I am doing > something wrong. I could not find anything relevant on JIRA: > > Playing with 0.7 nightly (today's build), I setup a 3 node cluster this way: > >  - Added one no

hector or pelops

2010-06-23 Thread Serdar Irmak
Hi Which java client library do you reccommend, hector or pelops and why ? Best Regards, - Bu e-posta mesaji kisiye özel olup, gizli bilgiler içeriyor olabilir. Eger bu e-posta mesaji size yanlislikla ulasmissa, e-posta mesajini kullaniciya hemen geri gönderiniz ve mesaj kutunuzdan siliniz.

Re: Uneven distribution using RP

2010-06-23 Thread Eric Evans
On Tue, 2010-06-22 at 17:47 -0400, James Golick wrote: > It's also flushing memtables really quickly for a particular CF. Like, > really quickly. Like, one every minute. I increased the thresholds by > 10x and it's still going fast. What is MemtableFlushAfterMinutes set to? -- Eric Evans eev...@

MESSAGE-DESERIALIZER-POOL is slow down by SliceFromReadCommand

2010-06-23 Thread Lu Ming
Yesterday and today , I found there are many pending message (>100,000) to be de-serialized in MESSAGE-DESERIALIZER-POOL. and I do the thread dump, It seems that some "SliceRead" is NOT executed by StageManager.READ_STAGE and executed by MESSAGE-DESERIALIZER-POOL. It is somewhat strange. Read fr

Timeout when cluster node fails/restarts

2010-06-23 Thread Wouter de Bie
Hi, I've currently setup a cluster of 11 nodes. When running a small application that uses Hector to read and write keys, and restarting one of the nodes (not the one the application is connected to), the application stalls, times out and reconnects. This takes roughly 10 seconds. When the node

Re: hector or pelops

2010-06-23 Thread Maxim Kramarenko
I've switched to Pelops recently, no problems with it for now, code become a little more compact.

cassandra_browser not in contrib

2010-06-23 Thread Eben Hewitt
The python cassandra_browser is not in the contrib directory if I clone from git, but it is present if I checkout with svn. Is there typically a lag between svn trunk and git? Or is this intentional because the cassandra_browser is not going to be included going forward? Thanks Eben -- "In scienc

Re: hector or pelops

2010-06-23 Thread Ran Tavory
As the developer of hector I can only speak in favor of my child of love and I haven't tried pelops so take the following with a grain of salt... Hector sees wide adoption and has been coined the de-facto java client. It's been in use in production critical systems since version 0.5.0 by a few comp

10 minute cassandra pause

2010-06-23 Thread Sean Bridges
We were running a load test against a single 0.6.2 cassandra node. 24 hours into the test, Cassandra appeared to be nearly frozen for 10 minutes. Our write rate went to almost 0, and we had a large number of write timeouts. We weren't swapping or gc'ing at the time. It looks like the problems

Re: hector or pelops

2010-06-23 Thread Gavan Hood
Hi Ran, I have been trialling hector but have not found the the samples you refer to, I found your basic ExampleClient but it does not excercise many functions for instance the getSlice, fields usage etc I want to develop a solid set of tests for each API call, do you have some code that will h

Re: Occasional 10s Timeouts on Read

2010-06-23 Thread AJ Slater
This issue is caused by my network. Cassandra maintains multiple gossip connections per node pair. One of these connections is used for heartbeat and load broadcasting traffic. Its quite talky. Another one is used for distributed key reads. Its idle unless distributed keys are actively being sough

Re: 10 minute cassandra pause

2010-06-23 Thread Benjamin Black
Are you seeing any sort of log messages from Cassandra at all? On Wed, Jun 23, 2010 at 2:26 PM, Sean Bridges wrote: > We were running a load test against a single 0.6.2 cassandra node.  24 > hours into the test,  Cassandra appeared to be nearly frozen for 10 > minutes.  Our write rate went to alm

KeyRange deletion

2010-06-23 Thread Carlos Sanchez
Would there be any support for a KeyRange (start/end key) deletion in 0.7? Carlos This email message and any attachments are for the sole use of the intended recipients and may contain proprietary and/or confidential information which may be privileged or otherwise protected from disclosure. An

Call for input of cassandra, thrift , hector, pelops example / sample / test code snippets

2010-06-23 Thread Gavan Hood
Hi all, I have been researching the samples with some success but its taken a while. I am very keen on Cassandra and love the work thats been done, well done everyone involved. I would like to get as many of the samples I can get organized into something that makes it easier to kick of with for p

Re: 10 minute cassandra pause

2010-06-23 Thread Sean Bridges
I see about 3000 lines of, INFO [COMMIT-LOG-WRITER] 2010-06-23 16:40:29,107 CommitLog.java (line 412) Discarding obsolete commit log:CommitLogSegment(/data1/cass/commitlog/CommitLog-1277302220723.log) Then, http://pastebin.com/YQA0mpRG It's around 16:50 that cassandra writes stop timing out. So

Re: forum application data model conversion

2010-06-23 Thread S Ahmed
Any thoughts? On Tue, Jun 22, 2010 at 2:13 PM, S Ahmed wrote: > Converting a Forum application to cassandra's data model. > > Tables: > > Posts [postID, threadID, userID, subject, body, created, lastmodified] > > So this table contains the actual question subject and body. > > When a user logs i

RE: Hector vs cassandra-java-client

2010-06-23 Thread Kenneth Bartholet
Agreed, but at what cost? It's my understanding that the big deterrent is the lack of 3rd party dependencies in maven public repos (e.g. Thrift itself). The option would be to publish a public maven repo containing all dependencies, which ends up being more responsibility then the client develo

Re: hector or pelops

2010-06-23 Thread Ran Tavory
on the wiki http://wiki.github.com/rantav/hector/ you can find: Example DAO

Re: Hector vs cassandra-java-client

2010-06-23 Thread Ran Tavory
Hector has a pom.xml which and deals with its dependencies as gracefully as it can, but the problem is that hector's dependencies such as cassandra and libthrift aren't in public maven repos. Any suggestions how to deal with that? On Thu, Jun 24, 2010 at 6:00 AM, Kenneth Bartholet < kennethbartho