Re: Understanding gossip protocol in cassandra
If i remember correctly; In real life gossip, you can not get the information before you give some. New machine sends it's own state to seed node, seed node replys this message with list of other nodes and their states (end of seed node role), then after a while (if i remember correctly gossip protocol using one seconds interval) new machine chooses a another node from this list by random and sends information it's own, response of this message is a list of other machines and their states and it goes like this. every nodes doing this in X second interval so every machine eventually knows other nodes and their states. In every state, node send this information to randomly choosen node. If i'm wrong other peoples will correct this message. On Mon, Aug 3, 2015 at 5:27 PM, Thouraya TH wrote: > Hi all, > > > Please, i try to undestand how gossip protocol is used in cassandra. > > > I read this: > > > “This is most critical the first time a node starts up. By default, a node > remembers other nodes it has gossiped with between subsequent restarts. The > seed node designation has no purpose other than bootstrapping the gossip > process for new nodes joining the cluster. Seed nodes are not a single point > of failure, nor do they have any other special purpose in cluster operations > beyond the bootstrapping of nodes. > > “ > > I understand that the seed node starst gossip protocol and then, the new > nodes join the seed node i.e send their state informations to the seed node > > Then, the seed node broadcast received informations to all nodes on the ring > ? > > That’s it ? > > > > Thank you so much for all explanations. > > Best Reagrds. -- Saygılar && İyi Çalışmalar Timu EREN ( a.k.a selam )
Re: How can I implement 'LIKE operation in SQL' on values while querying a column family in Cassandra
Mapreduce jobs may solve your problem for batch processing On Tue, May 15, 2012 at 12:49 PM, Abhijit Chanda wrote: > Tamar, > > Can you please illustrate little bit with some sample code. It highly > appreciable. > > Thanks, > > > On Tue, May 15, 2012 at 10:48 AM, Tamar Fraenkel wrote: > >> I don't think this is possible, the best you can do is prefix, if your >> order is alphabetical. For example I have a CF with comparator UTF8Type, >> and then I can do slice query and bring all columns that start with the >> prefix, and end with the prefix where you replace the last char with the >> next one in order (i.e. "aaa"-"aab"). >> >> Hope that helps. >> >> *Tamar Fraenkel * >> Senior Software Engineer, TOK Media >> >> [image: Inline image 1] >> >> ta...@tok-media.com >> Tel: +972 2 6409736 >> Mob: +972 54 8356490 >> Fax: +972 2 5612956 >> >> >> >> >> >> On Tue, May 15, 2012 at 7:56 AM, Abhijit Chanda < >> abhijit.chan...@gmail.com> wrote: >> >>> I don't know the exact value on a column, but I want to do a partial >>> matching to know all available values that matches. >>> I want to do similar kind of operation that LIKE operator in SQL do. >>> Any help is highly appreciated. >>> >>> -- >>> Abhijit Chanda >>> Software Developer >>> VeHere Interactive Pvt. Ltd. >>> +91-974395 >>> >>> >> > > > -- > Abhijit Chanda > Software Developer > VeHere Interactive Pvt. Ltd. > +91-974395 > > -- Saygılar && İyi Çalışmalar Timu EREN ( a.k.a selam ) <>
Re: cassandra data viewer?
look at chiton on github. On Tue, Apr 6, 2010 at 3:06 AM, AJ Chen wrote: > Is there a generic GUI tool for viewing cassandra datastore? being able to > view and edit data from a GUI tool like oracle sqldeveloper is very useful. > -aj > -- Saygılar && İyi Çalışmalar Timu EREN ( a.k.a selam )