servers for cassandra

2010-09-03 Thread vineet daniel
Hi I am just curious to know if there is any hosting company that provides servers at a very low cost, wherein I can install cassandra on WAN. I have cassandra setup in my LAN and want to test it in real conditions, taking dedicated servers just for testing purposes is not at all feasible for me n

Re: Cache capacity set with JConsole is lost after restart

2010-09-03 Thread Jonathan Ellis
Right, in 0.7 the system calls for modifying these are the source of truth. See https://issues.apache.org/jira/browse/CASSANDRA-1285 On Fri, Sep 3, 2010 at 11:17 AM, Jeremiah Jordan wrote: > But the config file doesn't hold those values anymore with 0.7. > There is a JIRA ticket out there for ap

RE: Cache capacity set with JConsole is lost after restart

2010-09-03 Thread Jeremiah Jordan
But the config file doesn't hold those values anymore with 0.7. There is a JIRA ticket out there for api's to modify stuff about column families in 0.7, it may cover doing this. I would guess that the tracking tables in the system keyspace aren't being updated with the values you are setting fr

Re: Re: Broken pipe

2010-09-03 Thread Jonathan Shook
I have been able to reproduce this, although it was a bug in application client code. If you keep a thrift client around longer after it has had an exception, it may generate this error. In my case, I was holding a reference via ThreadLocal<> to a stale storage object. Another symptom which may h

Re: Impact on running cassandra cluster from changing hostnames...

2010-09-03 Thread Jonathan Ellis
It's supposed to work, but it's definitely a rare thing to do. You should be concerned about other nodes rejecting the new node saying "remember this token? i'm at ip Y now instead of Z." if that happens then shutting down all nodes and restarting will fix it. On Thu, Sep 2, 2010 at 3:03 PM, Ned

Re: Cache capacity set with JConsole is lost after restart

2010-09-03 Thread Jonathan Ellis
That doesn't matter, the config file is the Source Of Truth for the values it has. On Fri, Sep 3, 2010 at 7:12 AM, Viktor Jevdokimov wrote: > Forgot to mention the version: 0.7 beta 1 > > -Original Message- > From: Edward Capriolo [mailto:edlinuxg...@gmail.com] > Sent: Friday, September 0

RE: Cache capacity set with JConsole is lost after restart

2010-09-03 Thread Viktor Jevdokimov
Forgot to mention the version: 0.7 beta 1 -Original Message- From: Edward Capriolo [mailto:edlinuxg...@gmail.com] Sent: Friday, September 03, 2010 4:59 PM To: user@cassandra.apache.org Subject: Re: Cache capacity set with JConsole is lost after restart On Fri, Sep 3, 2010 at 9:22 AM, Vik

Re: the process of reading and writing

2010-09-03 Thread Jonathan Ellis
To the degree that this suggests that there is a "master" node for each range, IMO it is a "bug" in the paper. (There are several of these.) Certainly there are no master nodes in Cassandra. On Fri, Sep 3, 2010 at 12:02 AM, Ying Tang wrote: > In dynamo's paper ,it says: > Each key, k, is assign

Re: Cache capacity set with JConsole is lost after restart

2010-09-03 Thread Edward Capriolo
On Fri, Sep 3, 2010 at 9:22 AM, Viktor Jevdokimov wrote: > Hi, > > > > We’re not setting cache capacity upon creation of Column Family, since the > type and capacity is unknown at that time. By default it = 0. > > > > After Column Family has enough data and we could decide on cache type (Row > or

Re: Consistency issue

2010-09-03 Thread Hugo
I'm using the Hector defaults, which are QUORUM for reads and writes. On 9/3/2010 3:18 PM, Nick Telford wrote: Are you using QUORUM for both writes and reads? The behaviour you're seeing sounds like something I'd expect to see if you used NONE for writes. On 3 September 2010 14:12, Hugo

Cache capacity set with JConsole is lost after restart

2010-09-03 Thread Viktor Jevdokimov
Hi, We're not setting cache capacity upon creation of Column Family, since the type and capacity is unknown at that time. By default it = 0. After Column Family has enough data and we could decide on cache type (Row or Key) and capacity, we connect with JConsole and set cache capacity manually

Re: Consistency issue

2010-09-03 Thread Nick Telford
Are you using QUORUM for both writes and reads? The behaviour you're seeing sounds like something I'd expect to see if you used NONE for writes. On 3 September 2010 14:12, Hugo wrote: > I'm using QUORUM, but in my single-node setup this doesn't matter IMHO. > > > On 9/3/2010 1:51 PM, Nick Telf

Re: Consistency issue

2010-09-03 Thread Hugo
I'm using QUORUM, but in my single-node setup this doesn't matter IMHO. On 9/3/2010 1:51 PM, Nick Telford wrote: Which ConsistencyLevels did you use for your batchMutate() and getSlice() operations? ConsistencyLevels directly dictate the level of consistency you will get with your data. Re

Re: Consistency issue

2010-09-03 Thread Nick Telford
Which ConsistencyLevels did you use for your batchMutate() and getSlice() operations? ConsistencyLevels directly dictate the level of consistency you will get with your data. Regards, Nick Telford On 3 September 2010 12:03, Hugo wrote: > Hi, > > I'm performing tests with Cassandra 0.6.5 with

Consistency issue

2010-09-03 Thread Hugo
Hi, I'm performing tests with Cassandra 0.6.5 with Hector 0.6.0-14 on a single machine (one node cluster). I've noticed an issue with consistency. In my tests I perform a KeySpace.batchMutate() to update a column and immediately after that I perform a KeySpace.getSlice() on the same column

Re: indexing methods

2010-09-03 Thread Jake Luciani
Hi Courtney, You can take a look at lucandra http://github.com/tjake/Lucandra which uses the lucene api to maintain a inverted index in cassandra. There are a couple articles and presentations in the readme that give more info on how this is done. -Jake On Fri, Sep 3, 2010 at 6:26 AM, Courtney R

Re: 4k keyspaces... Maybe we're doing it wrong?

2010-09-03 Thread Mike Peters
We're using 0.7 On 9/3/2010 6:48 AM, vineet daniel wrote: If I am correct than you need to restart cassandra whenever you adding a new KeySpace. Thats another concern. Vineet Daniel Cell : +91-8106217121 Websites : Blog | Linkedin

Re: 4k keyspaces... Maybe we're doing it wrong?

2010-09-03 Thread vineet daniel
If I am correct than you need to restart cassandra whenever you adding a new KeySpace. Thats another concern. Vineet Daniel Cell : +91-8106217121 Websites : Blog | Linkedin | Twitter

indexing methods

2010-09-03 Thread Courtney Robinson
A few of us working on a book for casanadra and got to the point where we (well I did anyway) wanted to include an example of a non trivial inverted index. I've been playing around with different ideas on how I could store the data and I've had a look at the previous threads that touched on t

Re: 4k keyspaces... Maybe we're doing it wrong?

2010-09-03 Thread Mike Peters
Very interesting. Thank you So it sounds like other than being able to quickly truncate customer-keyspaces, with Cassandra there's no real benefit in keeping each customer data in a separate keyspace. We'll suffer on the memory side with all the switching between keyspaces and we're better

Re: the process of reading and writing

2010-09-03 Thread Ying Tang
In dynamo's paper ,it says: Each key, k, is assigned to a coordinator node . The coordinator is in charge of the replication of the data items that fall within its range. On Fri, Sep 3, 2010 at 2:56 PM, Benjamin Black wrote: > On Thu, Sep 2, 2010 at 8:19 PM, Ying Tang wrote: > > Recently , i r