Re: [***SPAM*** ] access a multinode cluster

2010-06-01 Thread huajun qi
谢谢

access a multinode cluster

2010-06-01 Thread huajun qi
If you have a multinode cluster, which node you should connect to fetch data? Is there a master node in a cluster which accepts data request and dispatch it? Or every node in the cluster is completely same? If all nodes are same in a cluster, should client connect to random node to reduce cassand

Re: Creating a Cassandra cluster under Windows XP

2010-05-31 Thread huajun qi
try this: ** * 192.168.80.12* * **192.168.80.234* * *

remove a row

2010-05-28 Thread huajun qi
Is there anyway to remove a row completely? I use thrift client's remove method , it only deletes the columns under a row, but the row with its key is still there. How can I remove it completely? -- Location:

batch_mutate

2010-05-22 Thread huajun qi
How to use batch_mutate method in Cassandra Thrift API. I do it below, but fails: sc=SuperColumn(1,cs) cosc=ColumnOrSuperColumn(super_column=sc) m=Mutation(column_or_supercolumn=cosc) ml=[] ml.append(m) client.batch_mutate(keyspace,{"kw_archive_baidu":list

Re: long type

2010-05-22 Thread huajun qi
Thanks!

Re: long type

2010-05-22 Thread huajun qi
Then what kink of column name should I use? 2010/5/23 Dop Sun > CompareWith defines type for column name/ super column name, and at the > moment, key should be always String. > > > > *From:* huajun qi [mailto:qih...@gmail.com] > *Sent:* Saturday, May 22, 2010

long type

2010-05-22 Thread huajun qi
I set the "CompareWith" property to "longtype", but I can not insert data. It seems that something is wrong with the key. If I use longtype comparison, what key I should use? int?long? By the way, the language I use is python. -- Location: