Re: Question on Hinted Handoff

2010-11-02 Thread Joe Alex
010 at 8:28 PM, Joe Alex wrote: >> >> My expectation was even though Node 2 was down key written to Node 3 >> or 4 should be updated in Node 2 using Hint and the subsequent reads >> to Node 1 or Node 2 itself should have got the latest value > > Your expectation is cor

Re: Question on Hinted Handoff

2010-11-01 Thread Joe Alex
1 or Node 2 itself should have got the latest value On Mon, Nov 1, 2010 at 4:06 PM, Joe Alex wrote: > To keep the question simple, > If an insert or remove Key happens when the responsible Node is down > (RF=3) what is the expected behavior when the Node comes back up ? > > For e

Re: Question on Hinted Handoff

2010-11-01 Thread Joe Alex
:22 PM, Joe Alex wrote: > I am running cassandra 0.6.6 > 4 nodes with RF=3 > Have set the InitialTokens manually > Loaded around 4 million records > > Had a question why the following is happening > > Node 4 was down when a new key 1005 was added (value 123). > Node 2 w

Question on Hinted Handoff

2010-11-01 Thread Joe Alex
I am running cassandra 0.6.6 4 nodes with RF=3 Have set the InitialTokens manually Loaded around 4 million records Had a question why the following is happening Node 4 was down when a new key 1005 was added (value 123). Node 2 which is responsible for the key added a Hint for Node 4 Node 4 was br

Re: How to get the result from the closest node

2010-10-27 Thread Joe Alex
lso http://wiki.apache.org/cassandra/StorageConfiguration?highlight=(strategy)|(replication) These > features let you tell cassandra about your topology. > You will then want to use something like DCQUORUM or DCQUORUMSYNC (0.7+ > AFAIK) for your requests. > Hope that helps. >

Re: Why is column name not printed for Keyspace1.Standard1

2010-10-26 Thread Joe Alex
Oct 26, 2010 at 4:50 PM, Daniel Lundin wrote: >> Since CompareWith is BytesType, the cli will print the names as (hex) bytes. >> >> Example: "6d6964646c65" => "\x6d\x69\x64\x64\x6c\x65" => "middle" >> >> /d >> >> On Tue,

How to get the result from the closest node

2010-10-26 Thread Joe Alex
Hi, I have Cassandra 0.6.6 running on 4 nodes with RF=2. Let say nodes A, B, C, D If I have clients A1, B1, C1, D1 connected to respective nodes what happens when A1 requests A for a key "100" for which D is responsible as per the Token. C has the second copy. As per the logs A1 requests A which

Why is column name not printed for Keyspace1.Standard1

2010-10-26 Thread Joe Alex
With the sample Keyspace1 can somebody explain why the column names does not print in the Standard2 case, is it because of UTF8Type? cassandra> set Keyspace1.Standard1['100']['first'] = 'John' Value inserted. cassandra> set Keyspace1.Standard1['100']['last'] = 'Doe' Value inserted

Re: After loadbalance why does the size increase

2010-10-26 Thread Joe Alex
210.32.74 Up 415.47 MB 127314552263552317194896535803056965704|-->| On Tue, Oct 26, 2010 at 5:28 PM, Arya Goudarzi wrote: > Do you perform nodetool cleanup after you loadbalance? > > ________ > From: "Joe Alex" > To: cassandra-u...@incubat

After loadbalance why does the size increase

2010-10-26 Thread Joe Alex
Hi, I have Cassandra 0.6.6 running on 4 nodes with RF=2. I have inserted around 2 million rows for a simple test. Can somebody tell me why does the size keep increasing after running "loadbalance" Address Status Load Range Ring 1273840813591835207655456988445318335

After loadbalance why does the size increase

2010-10-26 Thread Joe Alex
Hi, I have Cassandra 0.6.6 running on 4 nodes with RF=2. I have around 2 million rows for a simple test. Can somebody tell me why does the size keep increasing after running "loadbalance" Address Status Load Range Ring 127384081359183520765545698844531833520 10.210.