cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vijay (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-3000) Ec2MultiRegionSnitch throws AssertionError on EC2
Date Mon, 08 Aug 2011 05:29:30 GMT

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

Vijay commented on CASSANDRA-3000:
----------------------------------

"listen_address = Public DNS of the cluster node"
the idea is to use broadcast address as the AWS public ip and Listen address to use AWS private
IP. it is done automatically.... I will add additional checks to look for user error like
this...

> Ec2MultiRegionSnitch throws AssertionError on EC2
> -------------------------------------------------
>
>                 Key: CASSANDRA-3000
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3000
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 0.8.2
>         Environment: build version: apache-cassandra-2011-08-07_02-23-42
> OS: Ubuntu 10.04.2 LTS \n \l
> # uname -a
> Linux ip-10-227-143-202 2.6.32-312-ec2 #24-Ubuntu SMP Fri Jan 7 18:30:50 UTC 2011 x86_64
GNU/Linux
>            Reporter: Gourav Shah
>            Assignee: Vijay
>              Labels: ec2multiregionsnitch, ec2snithc,, snithc,
>
> I found Ec2MultiRegionSnitch patch at https://issues.apache.org/jira/browse/CASSANDRA-2452

> However, I could not find any documentation on how to get it working, which address to
use as seed, listen and thrift addresses. I used the following, 
> seed_address     = Public DNS of the seed node 
> listen_address   = Public DNS of the cluster node
> rpc_address      = 0.0.0.0
> endpoint_snitch: org.apache.cassandra.locator.Ec2MultiRegionSnitch
> When I try to start cassandra, I get the following error: 
>  INFO 14:44:19,822 Ec2Snitch adding ApplicationState ec2region=eu-west ec2zone=1c
>  INFO 14:44:19,831 Starting Messaging Service on ec2-46-137-139-124.eu-west-1.compute.amazonaws.com/10.227.143.202:7000
>  INFO 14:44:19,851 Using saved token 162732122844140653649170199706439942449
>  INFO 14:44:19,852 Enqueuing flush of Memtable-LocationInfo@550579946(53/66 serialized/live
bytes, 2 ops)
>  INFO 14:44:19,852 Writing Memtable-LocationInfo@550579946(53/66 serialized/live bytes,
2 ops)
>  INFO 14:44:19,908 Completed flushing /var/lib/cassandra/data/system/LocationInfo-h-20-Data.db
(163 bytes)
>  INFO 14:44:19,913 Compacting Major: [SSTableReader(path='/var/lib/cassandra/data/system/LocationInfo-h-20-Data.db'),
SSTableReader(path='/var/lib/cassandra/data/system/LocationInfo-h-19-Data.db'), SSTableReader(path='/var/lib/cassandra/data/system/LocationInfo-h-17-Data.db'),
SSTableReader(path='/var/lib/cassandra/data/system/LocationInfo-h-18-Data.db')]
> ERROR 14:44:19,922 Exception encountered during startup.
> java.lang.AssertionError
>         at org.apache.cassandra.gms.Gossiper.compareEndpointStartup(Gossiper.java:620)
>         at org.apache.cassandra.service.StorageService.handleStateNormal(StorageService.java:803)
>         at org.apache.cassandra.service.StorageService.onChange(StorageService.java:706)
>         at org.apache.cassandra.gms.Gossiper.doNotifications(Gossiper.java:839)
>         at org.apache.cassandra.gms.Gossiper.addLocalApplicationState(Gossiper.java:986)
>         at org.apache.cassandra.service.StorageService.setToken(StorageService.java:219)
>         at org.apache.cassandra.service.StorageService.joinTokenRing(StorageService.java:520)
>         at org.apache.cassandra.service.StorageService.initServer(StorageService.java:434)
>         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:91)
> Exception encountered during startup.
> java.lang.AssertionError
>         at org.apache.cassandra.gms.Gossiper.compareEndpointStartup(Gossiper.java:620)
>         at org.apache.cassandra.service.StorageService.handleStateNormal(StorageService.java:803)
>         at org.apache.cassandra.service.StorageService.onChange(StorageService.java:706)
>         at org.apache.cassandra.gms.Gossiper.doNotifications(Gossiper.java:839)
>         at org.apache.cassandra.gms.Gossiper.addLocalApplicationState(Gossiper.java:986)
>         at org.apache.cassandra.service.StorageService.setToken(StorageService.java:219)
>         at org.apache.cassandra.service.StorageService.joinTokenRing(StorageService.java:520)
>         at org.apache.cassandra.service.StorageService.initServer(StorageService.java:434)
>         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:91)

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

        

Mime
View raw message