cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sylvain Lebresne (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-3191) unable to start single node cluster when listen_address is not localhost
Date Tue, 13 Sep 2011 16:29:09 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-3191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13103733#comment-13103733
] 

Sylvain Lebresne commented on CASSANDRA-3191:
---------------------------------------------

I could be wrong, but I think that was is happening here is that leaving it blank will resolve
to the machine address (i.e, not the loopback ip), and thus the node doesn't recognize itself
as a seed. In a way, it's a configuration error, listen_address should be 127.0.0.1. Not sure
we can really improve that error message, but maybe we can improve the comments in the yaml.

> unable to start single node cluster when listen_address is not localhost
> ------------------------------------------------------------------------
>
>                 Key: CASSANDRA-3191
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3191
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: T Jake Luciani
>             Fix For: 1.0.0
>
>
> Due to bootstrap default == true
> {code}
> INFO 20:07:51,839 Joining: waiting for ring and schema information
>  INFO 20:08:21,839 Joining: getting bootstrap token
> ERROR 20:08:21,843 Exception encountered during startup.
> java.lang.RuntimeException: No other nodes seen!  Unable to bootstrap
> 	at org.apache.cassandra.dht.BootStrapper.getBootstrapSource(BootStrapper.java:168)
> 	at org.apache.cassandra.dht.BootStrapper.getBalancedToken(BootStrapper.java:150)
> 	at org.apache.cassandra.dht.BootStrapper.getBootstrapToken(BootStrapper.java:145)
> 	at org.apache.cassandra.service.StorageService.joinTokenRing(StorageService.java:528)
> 	at org.apache.cassandra.service.StorageService.initServer(StorageService.java:450)
> 	at org.apache.cassandra.service.StorageService.initServer(StorageService.java:372)
> 	at org.apache.cassandra.service.AbstractCassandraDaemon.setup(AbstractCassandraDaemon.java:213)
> 	at org.apache.cassandra.service.AbstractCassandraDaemon.activate(AbstractCassandraDaemon.java:335)
> 	at org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:106)
> Exception encountered during startup.
> {code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message