set up a cassandra cluster with ByteOrderedPartitioner using whirr?

2011-06-07 Thread Khanh Nguyen
Hi, I'm struggling to set up a cassandra cluster with ByteOrderedPartitioner using whirr. (I'm not sure if the issue is caused by Cassandra or Whirr so I cc-ed both lists). Here are the steps I took - use whirr to lauch a cassandra (version 0.8) cluster - ssh into each instances and do 1) kill c

Re: Direct control over where data is stored?

2011-06-05 Thread Khanh Nguyen
On Sun, Jun 5, 2011 at 11:26 PM, Maki Watanabe wrote: > getNaturalEndpoints tells you which key will be stored on which nodes, > but we can't force cassandra to store given key to specific nodes. > > maki I'm confused. Didn't you mention previously that I can use OrderPreservingPartitioner to sto

Re: Direct control over where data is stored?

2011-06-05 Thread Khanh Nguyen
On Sun, Jun 5, 2011 at 2:17 PM, mcasandra wrote: > Please give more detailed info about what exactly you are worried about or > trying to solve. In general, we are trying to devise a partitioning and replication scheme that takes into account social relations between data. > Please take a step b

Re: Direct control over where data is stored?

2011-06-05 Thread Khanh Nguyen
Great. Thank you, Eric. -k On Sun, Jun 5, 2011 at 2:13 PM, Eric tamme wrote: > On Sun, Jun 5, 2011 at 12:18 PM, Khanh Nguyen > wrote: >> Hi Maki and Adrian, >> >> Thank you very much for the promptness. It's weekend after all :). >> >> I realized I

Re: Direct control over where data is stored?

2011-06-05 Thread Khanh Nguyen
y need your >> custom Partitioner. Please note that you are responsible to distribute >> load between nodes in this case. >> From application design perspective, it is not clear for me why you >> need to store user A and his friends into same box >> >> maki >&

Direct control over where data is stored?

2011-06-04 Thread Khanh Nguyen
Hi everyone, Is it possible to have direct control over where objects are stored in Cassandra? For example, I have a Cassandra cluster of 4 machines and 4 objects A, B, C, D; I want to store A at machine 1, B at machine 2, C at machine 3 and D at machine 4. My guess is that I need to intervene the