incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alain RODRIGUEZ <arodr...@gmail.com>
Subject Re: Adding nodes to cluster (Cassandra 1.0.8)
Date Wed, 14 Mar 2012 13:51:18 GMT
It looks like Cassandra is not able to find your existing cluster.

Do you use the same name of cluster in the 2 nodes ?

Are you able to contact the existing node on port 7000 from the new node ?

Is the first node defined as a seed in the cassandra.yaml of your 2 nodes ?

If you can't make a connection between these 2 nodes, this error is normal,
Cassandra try to create a new cluster and the node itself isn't defined as
a seed.

If you can't get it working and are sure of the point given above, tell us
what is you infrastructure, how you proceeded to install Cassandra and give
us a copy of your cassandra.yaml for both of your nodes.

Alain

2012/3/14 Rishabh Agrawal <rishabh.agrawal@impetus.co.in>

> I am using storage port 7000 (deafult) across all nodes.
>
> -----Original Message-----
> From: Maki Watanabe [mailto:watanabe.maki@gmail.com]
> Sent: Wednesday, March 14, 2012 3:42 PM
> To: user@cassandra.apache.org
> Subject: Re: Adding nodes to cluster (Cassandra 1.0.8)
>
> Do you use same storage_port across 3 nodes?
> Can you access to the storage_port of the seed node from the last (failed)
> node?
>
> 2012/3/14 Rishabh Agrawal <rishabh.agrawal@impetus.co.in>:
> > I was able to successfully join a node to already existing one-node
> > cluster (without giving any intital_token), but when I add another
> > machine with identical settings (with changes in listen broadcast and
> > rpc address). I am unable to join it to the cluster and it gives me
> following error:
> >
> >
> >
> > INFO 17:50:35,555 JOINING: schema complete, ready to bootstrap
> >
> > INFO 17:50:35,556 JOINING: getting bootstrap token
> >
> > ERROR 17:50:35,557 Exception encountered during startup
> >
> > java.lang.RuntimeException: No other nodes seen!  Unable to
> > bootstrap.If you intended to start a single-node cluster, you should
> > make sure your broadcast_address (or listen_address) is listed as a
> > seed.  Otherwise, you need to determine why the seed being contacted
> > has no knowledge of the rest of the cluster.  Usually, this can be
> > solved by giving all nodes the same seed list.
> >
> >         at
> > org.apache.cassandra.dht.BootStrapper.getBootstrapSource(BootStrapper.
> > java:168)
> >
> >         at
> > org.apache.cassandra.dht.BootStrapper.getBalancedToken(BootStrapper.ja
> > va:150)
> >
> >         at
> > org.apache.cassandra.dht.BootStrapper.getBootstrapToken(BootStrapper.j
> > ava:145)
> >
> >         at
> > org.apache.cassandra.service.StorageService.joinTokenRing(StorageServi
> > ce.java:565)
> >
> >         at
> > org.apache.cassandra.service.StorageService.initServer(StorageService.
> > java:484)
> >
> >         at
> > org.apache.cassandra.service.StorageService.initServer(StorageService.
> > java:395)
> >
> >         at
> > org.apache.cassandra.service.AbstractCassandraDaemon.setup(AbstractCas
> > sandraDaemon.java:234)
> >
> >         at
> > org.apache.cassandra.service.AbstractCassandraDaemon.activate(Abstract
> > CassandraDaemon.java:356)
> >
> >         at
> > org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:
> > 107)
> >
> > java.lang.RuntimeException: No other nodes seen!  Unable to
> > bootstrap.If you intended to start a single-node cluster, you should
> > make sure your broadcast_address (or listen_address) is listed as a
> > seed.  Otherwise, you need to determine why the seed being contacted
> > has no knowledge of the rest of the cluster.  Usually, this can be
> > solved by giving all nodes the same seed list.
> >
> >         at
> > org.apache.cassandra.dht.BootStrapper.getBootstrapSource(BootStrapper.
> > java:168)
> >
> >         at
> > org.apache.cassandra.dht.BootStrapper.getBalancedToken(BootStrapper.ja
> > va:150)
> >
> >         at
> > org.apache.cassandra.dht.BootStrapper.getBootstrapToken(BootStrapper.j
> > ava:145)
> >
> >         at
> > org.apache.cassandra.service.StorageService.joinTokenRing(StorageServi
> > ce.java:565)
> >
> >         at
> > org.apache.cassandra.service.StorageService.initServer(StorageService.
> > java:484)
> >
> >         at
> > org.apache.cassandra.service.StorageService.initServer(StorageService.
> > java:395)
> >
> >         at
> > org.apache.cassandra.service.AbstractCassandraDaemon.setup(AbstractCas
> > sandraDaemon.java:234)
> >
> >         at
> > org.apache.cassandra.service.AbstractCassandraDaemon.activate(Abstract
> > CassandraDaemon.java:356)
> >
> >         at
> > org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:
> > 107)
> >
> > Exception encountered during startup: No other nodes seen!  Unable to
> > bootstrap.If you intended to start a single-node cluster, you should
> > make sure your broadcast_address (or listen_address) is listed as a seed.
> > Otherwise, you need to determine why the seed being contacted has no
> > knowledge of the rest of the cluster.  Usually, this can be solved by
> > giving all nodes the same seed list.
> >
> > INFO 17:50:35,571 Waiting for messaging service to quiesce
> >
> > INFO 17:50:35,571 MessagingService shutting down server thread.
> >
> >
> >
> >
> >
> > Now when I put some interger value to intial_token  the Cassandra
> > starts working but is not able to connect to the main cluster which
> > became evident from the command Nodetool –h <ip of this node> ring. It
> > displayed itself with 100% ownership.
> >
> >
> >
> >
> >
> > Kindly help me with it asap.
> >
> >
> >
> > Regards
> >
> > Rishabh
> >
> >
> >
> >
> > ________________________________
> >
> > Impetus to sponsor and exhibit at Structure Data 2012, NY; Mar 21-22.
> > Know more about our Big Data quick-start program at the event.
> >
> > New Impetus webcast ‘Cloud-enabled Performance Testing vis-à-vis
> On-premise’
> > available at http://bit.ly/z6zT4L.
> >
> >
> > NOTE: This message may contain information that is confidential,
> > proprietary, privileged or otherwise protected by law. The message is
> > intended solely for the named addressee. If received in error, please
> > destroy and notify the sender. Any use of this email is prohibited
> > when received in error. Impetus does not represent, warrant and/or
> > guarantee, that the integrity of this communication has been
> > maintained nor that the communication is free of errors, virus,
> interception or interference.
>
> ________________________________
>
> Impetus to sponsor and exhibit at Structure Data 2012, NY; Mar 21-22. Know
> more about our Big Data quick-start program at the event.
>
> New Impetus webcast ‘Cloud-enabled Performance Testing vis-à-vis
> On-premise’ available at http://bit.ly/z6zT4L.
>
>
> NOTE: This message may contain information that is confidential,
> proprietary, privileged or otherwise protected by law. The message is
> intended solely for the named addressee. If received in error, please
> destroy and notify the sender. Any use of this email is prohibited when
> received in error. Impetus does not represent, warrant and/or guarantee,
> that the integrity of this communication has been maintained nor that the
> communication is free of errors, virus, interception or interference.
>

Mime
View raw message