live nodes list in ring

2010-06-30 Thread 王一锋
Hi, In a cassandra cluster, when issueing ring command on every nodes, some can show all nodes in the cluster but some can only show some other nodes. All nodes share the same seed list. And even some of the nodes in the seed list have this problem. Restarting the problematic nodes won't solve

Re: simple authentication in cascal

2010-06-30 Thread Steve Lihn
Chris, What I have in mind is to use SimpleAuthenticator in conjuction with the access.properties and passwd.properties. This use case is actually somewhat personal. I have servers in the AWS cloud, during development and testing, I may connect from home or wireless points on the road. I don't

Re: Cluster-wide pause

2010-06-30 Thread Steve Lihn
Jon, I am experimenting writing 8 million rows into Cassandra and also experienced some random timeouts, even with 10-second timeout parameter. How do I avoid such timeout at all cost? (I.e. At this time, my priority is to finish the end-to-end test. Don't want the program to fail at all.) This is

Re: Compaction-pool pause -- was: Cluster-wide pause

2010-06-30 Thread Steve Lihn
Jon, Looks like this compaction process took 360 seconds. What is it and how do I avoid it? INFO [COMPACTION-POOL:1] 2010-06-30 14:56:08,667 CompactionManager.java (line 246) Compacting

Re: simple authentication in cascal

2010-06-30 Thread Chris Shorrock
Steve, Looking at the Cassandra docs it appears as though this shouldn't be too hard to implement, as it should simply involve adding a login method to the cascal session template. I'll make a ticket in github to track this , I hope that I have a little more time in the next few days to

Re: live nodes list in ring

2010-06-30 Thread aaron morton
At start up do you see log lines like this Gossiper.java (line 576) Node /192.168.34.30 is now part of the cluster Are all the nodes listed? aaron On 30 Jun 2010, at 22:50, 王一锋 wrote: Hi, In a cassandra cluster, when issueing ring command on every nodes, some can show all nodes in the

Cassandra Pig Integration

2010-06-30 Thread Mubarak Seyed
I am trying to query data using Pig 0.7.0, when i run contrib/pig/bin/pig_cassandra -x local filename.pig, i am getting an error ERROR 2117: Unexpected error when launching map reduce job. org.apache.pig.impl.logicalLayer.FrontendException: ERROR 1066: Unable to open iterator for alias topnames

Re: Cluster-wide pause

2010-06-30 Thread Jonathan Ellis
use a larger heap or throttle your writes On Wed, Jun 30, 2010 at 12:12 PM, Steve Lihn stevel...@gmail.com wrote: Jon, I am experimenting writing 8 million rows into Cassandra and also experienced some random timeouts, even with 10-second timeout parameter. How do I avoid such timeout at all

RE: live nodes list in ring

2010-06-30 Thread Stephen Hamer
When this happens to me I have to do a full cluster restart. Even doing a rolling restart across the cluster doesn’t seem to fix them, all of the nodes need to be stopped at the same time. After bringing everything back up the ring is correct. Does anyone know how a cluster gets into this

Re: live nodes list in ring

2010-06-30 Thread Benjamin Black
Does this happen after you have changed the ring topology, especially adding nodes? 2010/6/30 Stephen Hamer stephen.ha...@xobni.com: When this happens to me I have to do a full cluster restart. Even doing a rolling restart across the cluster doesn't seem to fix them, all of the nodes need to

Re: Implementing Counter on Cassandra

2010-06-30 Thread Benjamin Black
ZK is way overkill for counters. memcache and redis are much better at the job. On Tue, Jun 29, 2010 at 12:32 PM, Jonathan Shook jsh...@gmail.com wrote: Until then, a pragmatic solution, however undesirable, would be to only have a single logical thread/task/actor that is allowed to

Re: Re: live nodes list in ring

2010-06-30 Thread 王一锋
Yes, but not all nodes. Just the part that the restarting node can show on its ring. 2010-07-01 发件人: aaron morton 发送时间: 2010-07-01 04:42:56 收件人: user 抄送: 'huzhonghua'; 'GongJianTao(宫建涛 )' 主题: Re: live nodes list in ring At start up do you see log lines like this Gossiper.java

Re: Re: live nodes list in ring

2010-06-30 Thread 王一锋
To me, this happens all in a sudden. No nodes removed nor new nodes joined 2010-07-01 发件人: Benjamin Black 发送时间: 2010-07-01 09:55:59 收件人: user 抄送: 主题: Re: live nodes list in ring Does this happen after you have changed the ring topology, especially adding nodes? 2010/6/30 Stephen

Re: RE: live nodes list in ring

2010-06-30 Thread 王一锋
problem solved with a full cluster stop and then start~ Thanks Stephen. But still wondering the reason 2010-07-01 发件人: Stephen Hamer 发送时间: 2010-07-01 08:39:13 收件人: user@cassandra.apache.org 抄送: 'huzhonghua'; 'GongJianTao(宫建涛)' 主题: RE: live nodes list in ring When this happens

UnavailableException with 1 node down and RF=2?

2010-06-30 Thread James Golick
4 nodes, RF=2, 1 node down. How can I get an UnavailableException in that scenario? - J.

Re: UnavailableException with 1 node down and RF=2?

2010-06-30 Thread Benjamin Black
.QUORUM or .ALL (they are the same with RF=2). On Wed, Jun 30, 2010 at 10:22 PM, James Golick jamesgol...@gmail.com wrote: 4 nodes, RF=2, 1 node down. How can I get an UnavailableException in that scenario? - J.

Re: UnavailableException with 1 node down and RF=2?

2010-06-30 Thread James Golick
Oops. I meant to say that I'm reading with CL.ONE. J. Sent from my iPhone. On 2010-07-01, at 1:39 AM, Benjamin Black b...@b3k.us wrote: .QUORUM or .ALL (they are the same with RF=2). On Wed, Jun 30, 2010 at 10:22 PM, James Golick jamesgol...@gmail.com wrote: 4 nodes, RF=2, 1 node down.