Lost everything after topology change

2013-08-12 Thread Morgan Segalis
Hi everyone, I'm coming to you because I'm quite in a pickle, and need to get the Cassandra database working asap… I tried to change the topology file and tried a node tool repair… in cassandra-cli when I tried to list a column family, it tells me null UnavailableException() at

Re: Lost everything after topology change

2013-08-12 Thread Morgan Segalis
, Robert Coli rc...@eventbrite.com a écrit : On Mon, Aug 12, 2013 at 9:36 AM, Morgan Segalis msega...@gmail.com wrote: I'm coming to you because I'm quite in a pickle, and need to get the Cassandra database working asap… First, #cassandra on freenode is usually better for emergent cases like

Having 2 nodes with 100% Ownership ?

2013-08-12 Thread Morgan Segalis
Hi everyone, I would like to have 100% Effective-Owership on both cassandra nodes… I just have created the second node now… ./nodetool ring gives me : Address DC RackStatus State Load Effective-Owership Token

Re: Having 2 nodes with 100% Ownership ?

2013-08-12 Thread Morgan Segalis
token 2) move nodes to that token or use vnodes For the first option see: http://www.datastax.com/docs/0.8/install/cluster_init On Mon, Aug 12, 2013 at 12:06 PM, Morgan Segalis msega...@gmail.com wrote: Hi everyone, I would like to have 100% Effective-Owership on both cassandra

Re: Lost everything after topology change

2013-08-12 Thread Morgan Segalis
you want to change, we should be able to help. Cheers - Aaron Morton Cassandra Consultant New Zealand @aaronmorton http://www.thelastpickle.com On 13/08/2013, at 4:52 AM, Morgan Segalis msega...@gmail.com wrote: Actually I was creating my second node… Since I

Re: Having 2 nodes with 100% Ownership ?

2013-08-12 Thread Morgan Segalis
...@gmail.com a écrit : Hi, You should use a 50% token distribution as Mohit pointed out, but configure a replication factor of 2, so all your rows will be effectively in both nodes. -- Francisco Andrades Grassi www.bigjocker.com @bigjocker On Aug 12, 2013, at 2:44 PM, Morgan Segalis msega

Re: Having 2 nodes with 100% Ownership ?

2013-08-12 Thread Morgan Segalis
the cassandra-topology.properties file ? (it is currently the out-of-the-box version) Thank you. Morgan. Le 13 août 2013 à 01:22, Robert Coli rc...@eventbrite.com a écrit : On Mon, Aug 12, 2013 at 4:19 PM, Morgan Segalis msega...@gmail.com wrote: It is still a little fuzzy when it comes to calculate

Re: Having 2 nodes with 100% Ownership ?

2013-08-12 Thread Morgan Segalis
Le 13 août 2013 à 01:50, Robert Coli rc...@eventbrite.com a écrit : On Mon, Aug 12, 2013 at 4:41 PM, Morgan Segalis msega...@gmail.com wrote: So I fetched the whole apache-cassandra (not the /var/lib/cassandra) folder from my first server to my second server. Including the data directory

Adding my first node to another one...

2013-08-01 Thread Morgan Segalis
Hi everyone, I'm trying to wrap my head around Cassandra great ability to expand… I have set up my first Cassandra node a while ago… it was working great, and data wasn't so important back then. Since I had a great experience with Cassandra I decided to migrate step by step my MySQL data to

Re: Adding my first node to another one...

2013-08-01 Thread Morgan Segalis
here with questions and more details. Regards, Arthur -Original Message- From: Morgan Segalis Sent: Thursday, August 01, 2013 11:24 AM To: user@cassandra.apache.org Subject: Adding my first node to another one... Hi everyone, I'm trying to wrap my head around Cassandra great

Re: Adding my first node to another one...

2013-08-01 Thread Morgan Segalis
Hi Rob, Le 2 août 2013 à 00:15, Robert Coli rc...@eventbrite.com a écrit : On Thu, Aug 1, 2013 at 2:07 PM, Morgan Segalis msega...@gmail.com wrote: Actually I was thinking I would like Cassandra choose by itself the token. You NEVER want Cassandra to choose its own token in production

Re: Store a timeline with uniques properties

2012-08-31 Thread Morgan Segalis
@aaronmorton http://www.thelastpickle.com On 30/08/2012, at 11:32 PM, Morgan Segalis msega...@gmail.com wrote: Sorry for the scheme that has not keep the right tabulation for some people... Here's a space-version instead of a tabulation. user1 row :| lte

Re: Store a timeline with uniques properties

2012-08-31 Thread Morgan Segalis
On 30/08/2012, at 11:32 PM, Morgan Segalis msega...@gmail.com wrote: Sorry for the scheme that has not keep the right tabulation for some people... Here's a space-version instead of a tabulation. user1 row :| lte| lte -1

Store a timeline with uniques properties

2012-08-30 Thread Morgan Segalis
Hi everyone, I'm trying to use cassandra in order to store a timeline, but with values that must be unique (replaced). (So not really a timeline, but didn't find a better word for it) Let's me give you an example : - An user have a list of friends - Friends can change their nickname, status,

Re: Store a timeline with uniques properties

2012-08-30 Thread Morgan Segalis
-status-change | user2-status-change | Le 30 août 2012 à 13:22, Morgan Segalis a écrit : Hi everyone, I'm trying to use cassandra in order to store a timeline, but with values that must be unique (replaced). (So not really a timeline, but didn't find a better word for it) Let's me give you

Re: Data model question, storing Queue Message

2012-04-30 Thread Morgan Segalis
http://www.thelastpickle.com On 27/04/2012, at 1:30 AM, Morgan Segalis wrote: Hi everyone ! I'm fairly new to cassandra and I'm not quite yet familiarized with column oriented NoSQL model. I have worked a while on it, but I can't seems to find the best model for what I'm looking

Re: Data model question, storing Queue Message

2012-04-30 Thread Morgan Segalis
feature should come do it's work. Le 30 avr. 2012 à 13:16, samal a écrit : On Mon, Apr 30, 2012 at 4:25 PM, Morgan Segalis msega...@gmail.com wrote: Hi Aaron, Thank you for your answer, I was beginning to think that my question would never be answered ;-) Actually, this is what I

Re: Data model question, storing Queue Message

2012-04-30 Thread Morgan Segalis
Isn't kafka too young for production using purpose ? Clearly that would fit much better my needs but I can't afford early stage project not ready for production. Is it ? Le 30 avr. 2012 à 14:28, samal samalgo...@gmail.com a écrit : On Mon, Apr 30, 2012 at 5:52 PM, Morgan Segalis msega

Data model question, storing Queue Message

2012-04-26 Thread Morgan Segalis
Hi everyone ! I'm fairly new to cassandra and I'm not quite yet familiarized with column oriented NoSQL model. I have worked a while on it, but I can't seems to find the best model for what I'm looking for. I have a Erlang software that let user connecting and communicate with each others,