Only the last added node is visible in the cluster

2012-02-25 Thread Aditya Gupta
While creating a multinode cluster, my nodes are unable to identify all the nodes in the cluster. Only the *last added' node is visible when I do: ./nodetool -h localhost ring I am trying to create a 4 nodes cluster. On starting the seed node, the above command shows just itself(ok.. good), the

MemtableThroughput test in ColumnFamily.apply

2012-02-25 Thread Thomas Richter
Hi, while hunting down some memory consumption issues in 0.7.10 I realized that MemtableThroughput condition is tested before writing the new data. As this causes memtables to grow larger than expected I changed Memtable apply(DecoratedKey key, ColumnFamily columnFamily) { long start

Re: MemtableThroughput test in ColumnFamily.apply

2012-02-25 Thread Jonathan Ellis
Makes sense to me, although I don't see it making a material difference when there are 1000 mutations in a memtable vs 1001. On Sat, Feb 25, 2012 at 11:23 AM, Thomas Richter wrote: > Hi, > > while hunting down some memory consumption issues in 0.7.10 I realized > that MemtableThroughput condition

Re: MemtableThroughput test in ColumnFamily.apply

2012-02-25 Thread Thomas Richter
Hi, I agree, but the problem in our case is that we have rather small memtables (5MB) and during hinted handoff there are several dozen or even hundreds of MBs inserted without flushing the tables. And in that case it makes a difference. Best, Thomas On 02/25/2012 07:06 PM, Jonathan Ellis wrote

Re: Only the last added node is visible in the cluster

2012-02-25 Thread Brandon Williams
My guess would be you're using the same token everywhere. -Brandon On Sat, Feb 25, 2012 at 9:48 AM, Aditya Gupta wrote: > While creating a multinode cluster, my nodes are unable to identify all the > nodes in the cluster. > Only the *last added'  node is visible when I do: >  ./nodetool -h local

Re: Only the last added node is visible in the cluster

2012-02-25 Thread Aditya Gupta
Nope, I just re-verified :) I have split up the range into 4 parts for 4 nodes. I have specified that in the intial_token On Sun, Feb 26, 2012 at 12:33 AM, Brandon Williams wrote: > My guess would be you're using the same token everywhere. > > -Brandon > > On Sat, Feb 25, 2012 at 9:48 AM, Aditya

Re: Only the last added node is visible in the cluster

2012-02-25 Thread Brandon Williams
Then my next guess is you cloned one system to make the others in a virtual env, and the token is recorded in the system keyspace. In any case, some nodetool ring output at each node addition will clarify this. -Brandon On Sat, Feb 25, 2012 at 1:20 PM, Aditya Gupta wrote: > Nope, I just re-veri

Re: Only the last added node is visible in the cluster

2012-02-25 Thread Aditya Gupta
yes, exactly I did cloned a single VMware machine to make other instances.. so how do I correct this now ? On Sun, Feb 26, 2012 at 2:18 AM, Brandon Williams wrote: > Then my next guess is you cloned one system to make the others in a > virtual env, and the token is recorded in the system keysp

Re: Only the last added node is visible in the cluster

2012-02-25 Thread Aditya Gupta
The output of nodetool ring after each addition of nodes, make just the last added node visible in the ring. When I retry to add the node(which are not visible) it says that it is already a part of the ring. Could you indicate how should I rectify this now, as you seem to have figured out the issu

Re: Only the last added node is visible in the cluster

2012-02-25 Thread Brandon Williams
On Sat, Feb 25, 2012 at 3:39 PM, Aditya Gupta wrote: > The output of nodetool ring after each addition of nodes, make just the last > added node visible in the ring. > When I retry to add the node(which are not visible) it says that it is > already a part of the ring. > > Could you indicate how sh

Re: Querying all keys in a column family

2012-02-25 Thread Martin Arrowsmith
Hi Alexandru, Things got hectic and I put off the project until this weekend. I'm actually learning about Hadoop right now and how to implement it. I can respond to this thread when I have something running. In the meantime, I'd like to bump this email up and see if there are others who can provi

Re: newer Cassandra + Hadoop = TimedOutException()

2012-02-25 Thread Edward Capriolo
Did you see the notes here? http://wiki.apache.org/cassandra/HadoopSupport#Troubleshooting On Sat, Feb 25, 2012 at 2:04 AM, Patrik Modesto wrote: > No, we have our own servers, no cloud service. > > P. > > On Feb 24, 2012 5:57 PM, "Jeremy Hanna" wrote: >> >> By chance are you in EC2? >> >> On F

Re: Only the last added node is visible in the cluster

2012-02-25 Thread Aditya Gupta
Thanks removing the system keyspace worked! Thanks! On Sun, Feb 26, 2012 at 3:39 AM, Brandon Williams wrote: > On Sat, Feb 25, 2012 at 3:39 PM, Aditya Gupta wrote: > > The output of nodetool ring after each addition of nodes, make just the > last > > added node visible in the ring. > > When I r