cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brandon Williams (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-5107) node fails to start because host id is missing
Date Fri, 18 Jan 2013 17:26:12 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-5107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Brandon Williams updated CASSANDRA-5107:
----------------------------------------

    Attachment: 0001-Preload-gossip-application-states-before-starting.txt

I'm not convinced this is the cause, but you're right that this seems dangerous regardless.
 Patch to preload essential gossip states before starting the gossiper.
                
> node fails to start because host id is missing
> ----------------------------------------------
>
>                 Key: CASSANDRA-5107
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5107
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.2.0
>            Reporter: Brandon Williams
>            Assignee: Brandon Williams
>             Fix For: 1.2.1
>
>         Attachments: 0001-Preload-gossip-application-states-before-starting.txt
>
>
> I saw this once on dtestbot but couldn't figure it out, but now I've encountered it myself:
> {noformat}
> ERROR 22:04:45,949 Exception encountered during startup
> java.lang.AssertionError
>    at org.apache.cassandra.locator.TokenMetadata.updateHostId(TokenMetadata.java:219)
>    at org.apache.cassandra.service.StorageService.initServer(StorageService.java:442)
>    at org.apache.cassandra.service.StorageService.initServer(StorageService.java:397)
>    at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:309)
>    at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:397)
>    at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:440)
> java.lang.AssertionError
>    at org.apache.cassandra.locator.TokenMetadata.updateHostId(TokenMetadata.java:219)
>    at org.apache.cassandra.service.StorageService.initServer(StorageService.java:442)
>    at org.apache.cassandra.service.StorageService.initServer(StorageService.java:397)
>    at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:309)
>    at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:397)
>    at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:440)
> Exception encountered during startup: null
> {noformat}
> Somehow our own hostid is null sometimes.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message