incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hiller, Dean" <Dean.Hil...@nrel.gov>
Subject Re: AssertionError: Unknown keyspace?
Date Mon, 24 Jun 2013 19:04:10 GMT
Yes, it would be nice at startup just to say don't list your seed node as this node and then
fail out and we would have known this a long long time ago ;).
Dean

From: Wei Zhu <wz1975@yahoo.com<mailto:wz1975@yahoo.com>>
Reply-To: "user@cassandra.apache.org<mailto:user@cassandra.apache.org>" <user@cassandra.apache.org<mailto:user@cassandra.apache.org>>,
Wei Zhu <wz1975@yahoo.com<mailto:wz1975@yahoo.com>>
Date: Monday, June 24, 2013 12:36 PM
To: "user@cassandra.apache.org<mailto:user@cassandra.apache.org>" <user@cassandra.apache.org<mailto:user@cassandra.apache.org>>
Subject: Re: AssertionError: Unknown keyspace?

I have got bitten by it once. At least there should be a message saying, there is no streaming
data since it's a seed node.
I searched the source code, the message was there and it got removed at certain version.

-Wei

________________________________
From: Robert Coli <rcoli@eventbrite.com<mailto:rcoli@eventbrite.com>>
To: user@cassandra.apache.org<mailto:user@cassandra.apache.org>
Sent: Monday, June 24, 2013 10:34 AM
Subject: Re: AssertionError: Unknown keyspace?

On Mon, Jun 24, 2013 at 6:04 AM, Hiller, Dean <Dean.Hiller@nrel.gov<mailto:Dean.Hiller@nrel.gov>>
wrote:
> Oh shoot, this is a seed node.  Is there documentation on how to bootstrap
> a seed node?  If I have seeds of A, B, C for every machine on the ring and
> I am bootstrapping node B, do I just modify cassandra.yaml and remove node
> B from the yaml file temporarily and boot it up

Yes. The only thing that makes a node fail that check is being in its
own seed list. But if the node is in other nodes' seed lists, those
nodes will contact it anyway. This strongly implies that the
"contains()" check there is the wrong test, but I've never nailed that
down and/or filed a ticket on it. Conversation at the summit suggests
I should, making a note to do so...

=Rob



Mime
View raw message