New nodes won't bootstrap on .66

2010-10-26 Thread Dimitry Lvovsky
Hi All, We recently upgraded from .65 to .66 after which we tried adding a new node to our cluster. We left it bootstrapping and after 3 days, it still refused to join the ring. The strange thing is that nodetool info shows 50GB of load and nodetool ring shows that it sees the rest of ring,

Re: Cassandra crashed - possible JMX threads leak

2010-10-26 Thread Bill Au
I would be happy to submit a patch but is it a bit more trickier than simply calling JMXConenctor.close(). NodeProbe's use of the JMXConnector is not exposed in its API The JMX connection is created in NodeProbe's constructor. Without changing the API, the only place to call close() would be in

Re: Cassandra crashed - possible JMX threads leak

2010-10-26 Thread Norman Maurer
Depending on finalize() is really not want you want todo, so I think the API change would be preferable. Bye, Norman 2010/10/26 Bill Au : > I would be happy to submit a patch but is it a bit more trickier than simply > calling JMXConenctor.close().  NodeProbe's use of the JMXConnector is not > e

[Fwd: Decode Json]

2010-10-26 Thread Eric Evans
No, if you're using the JSON export tools, you'll have to convert those hex strings into whatever type the binary value represents. Be sure to send any follow-ups to the user list (user@cassandra.apache.org), it's a better place to get answers to questions like this. -- Eric Evans eev...@racksp

Best practice for adding new nodes to ring

2010-10-26 Thread Greg Kim
Hi, I have a question regarding the best practices for adding new nodes to an existing cluster. From reading the following wiki: http://wiki.apache.org/cassandra/Operations -- I understand that when creating a brand new cluster -- we can use the following to calculate the initial token for e

RE: Best practice for adding new nodes to ring

2010-10-26 Thread Stu Hood
While the "adding virtual tokens/nodes to Cassandra" discussion is a good one, there are a few factors that might delay (or remove?) the necessity of adding that complexity: * In Cassandra 0.7, removing load from a node is fairly cheap: a bounded number of reads are used to determine which port

10G Ethernet / Infiniband

2010-10-26 Thread Wayne
Is anyone out there using 10G Ethernet or Infiniband with Cassandra in a cluster where there is a noticeable increase in performance or reduced latency to warrant the cost of the faster network connections? Any experience or even rationale would help. We are considering Infiniband but are on the f

Re: What happens if there is a collision?

2010-10-26 Thread Peter Schuller
> I may have been unclear about the meaning of timestamp in Cassandra. I was > under the impression that any given data with the same key value and two > different timestamps would result in two 'rows'. From what you say, it does > not seem to be the case. Do you confirm? (In other words, whoever h

Re: What happens if there is a collision?

2010-10-26 Thread Brandon Williams
On Tue, Oct 26, 2010 at 2:17 PM, Peter Schuller wrote: > > > ii) If case of timestamp ties, value breaks ties. > > If this is indeed intended to be a guarantee and not an artifact of > the current implementation (anyone want to comment - jbellis?). > > https://issues.apache.org/jira/browse/CASSAN

Re: Best practice for adding new nodes to ring

2010-10-26 Thread Edward Capriolo
On Tue, Oct 26, 2010 at 1:45 PM, Stu Hood wrote: > While the "adding virtual tokens/nodes to Cassandra" discussion is a good > one, there are a few factors that might delay (or remove?) the necessity of > adding that complexity: > > * In Cassandra 0.7, removing load from a node is fairly cheap:

Re: Best practice for adding new nodes to ring

2010-10-26 Thread Gary Dusbabek
On Tue, Oct 26, 2010 at 14:56, Edward Capriolo wrote: > On Tue, Oct 26, 2010 at 1:45 PM, Stu Hood wrote: >> While the "adding virtual tokens/nodes to Cassandra" discussion is a good >> one, there are a few factors that might delay (or remove?) the necessity of >> adding that complexity: >> >> *

Re: New nodes won't bootstrap on .66

2010-10-26 Thread Aaron Morton
Dimitry, Did you get anywhere with this ? Was it the .18 or the .17 node you tried to add ? How did you start the bootstrap for the .18 node ? Does it have a token in the config or did you use nodetool move to set it? I had a quick look at the code AKAIK  the message about removing the fat client i

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.

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

Re: After loadbalance why does the size increase

2010-10-26 Thread Arya Goudarzi
Do you perform nodetool cleanup after you loadbalance? From: "Joe Alex" To: cassandra-u...@incubator.apache.org Sent: Tuesday, October 26, 2010 2:06:58 PM Subject: After loadbalance why does the size increase Hi, I have Cassandra 0.6.6 running on 4 nodes with RF=2. I have around 2 milli

Re: After loadbalance why does the size increase

2010-10-26 Thread Joe Alex
I did not. I did try "cleanup" and here is after that. Was expecting an even distribution and total load to be approximately same as before also was reading this https://issues.apache.org/jira/browse/CASSANDRA-1418 Address Status Load Range Ring 1273145522635523171

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: Why is column name not printed for Keyspace1.Standard1

2010-10-26 Thread Daniel Lundin
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, Oct 26, 2010 at 11:42 PM, Joe Alex wrote: > With the sample Keyspace1 can somebody explain why the column names > does not print in the Stand

unsubscribe

2010-10-26 Thread Nick Goodman

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

Re: After loadbalance why does the size increase

2010-10-26 Thread Arya Goudarzi
You won't get even distribution. All it does is decommission and auto-bootstrap. http://wiki.apache.org/cassandra/Operations . However, you will get closer to even distribution if you double the size of your cluster, meaning if you had 3 nodes, you add 3 more nodes. In that case, each new node w

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

2010-10-26 Thread Jonathan Ellis
In 0.7rc1 you can do get Keyspace1.Standard1['100'] as utf8 if you know that a column defined as bytes has a certain type of data. On Tue, 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" =>

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

2010-10-26 Thread Joe Alex
That is neat. Will switch to .7 as soon as it is out. On Tue, Oct 26, 2010 at 7:15 PM, Jonathan Ellis wrote: > In 0.7rc1 you can do > > get Keyspace1.Standard1['100'] as utf8 > > if you know that a column defined as bytes has a certain type of data. > > On Tue, Oct 26, 2010 at 4:50 PM, Daniel Lu

Re: cassandra installation

2010-10-26 Thread Jonathan Ellis
http://www.riptano.com/docs/0.6.5/getting_started/index On Tue, Oct 26, 2010 at 9:35 AM, wrote: > I thought of using cassandra, but all the installation guides that i found > online through google search are not helping out...I get too many errors when > i'm following them..I guess the source

unsubscribe

2010-10-26 Thread Andrew
unsubscribe

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

2010-10-26 Thread deni lugito
unssubscribe

Re: After loadbalance why does the size increase

2010-10-26 Thread Aaron Morton
Rather than use nodetool load balance, assign the tokens manually. See the section on load balancing here http://wiki.apache.org/cassandra/Operationsuse nodetool move or set the tokens in the yaml. I'm may be wrong here, but after the move run repair to make sure each node has all the data it shoul

Re: How to get the result from the closest node

2010-10-26 Thread Aaron Morton
Lets start with the simple case, all nodes have the same proximity to each other.The client connects to a random node, called the coordinator. When a request is made the coordinator asynchronously sends it to all nodes that are a replica for the requested key. It waits for the response, and in the

unsubscribe

2010-10-26 Thread Dave Wellman
unsubscribe

Re: 10G Ethernet / Infiniband

2010-10-26 Thread Juho Mäkinen
The disks in cassandra node will most probably be your bottleneck. I'd suggest (haven't tried, this is just based on my intuition) to invest in SSD disks first and only after that think about going 10Gbps. - Garo On Tue, Oct 26, 2010 at 10:11 PM, Wayne wrote: > Is anyone out there using 10G Eth