Re: is it my cassandra cluster ok?

2010-08-25 Thread john xie
load balancing? is it means add more nodes? 2010/8/26 Ryan King > Looks like you need to do some load balancing. > > -ryan > > On Wed, Aug 25, 2010 at 12:33 AM, john xie wrote: > > /opt/apache-cassandra-0.6.4/bin/nodetool --host 192.168.123.100 ring > > Ad

is it my cassandra cluster ok?

2010-08-25 Thread john xie
/opt/apache-cassandra-0.6.4/bin/nodetool --host 192.168.123.100 ring Address Status Load Range Ring 162027259805094200094770502377853667196 192.168.123.101Up 183.43 GB 26404162423947656621914545677405489813 |<--| 192.168.123.5 Up 196.18 GB 97646479029625

how to recover cassandra data

2010-08-02 Thread john xie
ReplicationFactor = 3 one day i stop 192.168.1.147 and remove cassandra data by mistake, can i recover 192.168.1.147's cassadra data by restart cassandra ? /data1/cassandra/ /data2/cassandra/ /data3/cassandra/ /data3 mount /dev/sdd i remove /data3 and form

Re: about cassandra compression

2010-07-26 Thread john xie
e but it's done in the client, > > > On Mon, Jul 26, 2010 at 1:31 PM, john xie wrote: > >> is cassandra compression before stored? >> when I stored the data, is compression beneficial to reduce the >> storage space? >> >> >> > -- 谢

about cassandra compression

2010-07-26 Thread john xie
is cassandra compression before stored? when I stored the data, is compression beneficial to reduce the storage space?

Re: a_long_is_exactly_8_bytes

2010-07-07 Thread john xie
> > - Juho Mäkinen > > On Wed, Jul 7, 2010 at 2:08 PM, john xie wrote: > > > > > > http://wiki.apache.org/cassandra/FAQ#a_long_is_exactly_8_bytes > > > > /** > > * Takes php integer and packs it to 64bit (8 bytes) long

Fwd: a_long_is_exactly_8_bytes

2010-07-07 Thread john xie
http://wiki.apache.org/cassandra/FAQ#a_long_is_exactly_8_bytes /** * Takes php integer and packs it to 64bit (8 bytes) long big endian binary representation. * @param $x integer * @return string eight bytes long binary repersentation of the integer in big endian