cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "nivance (JIRA)" <>
Subject [jira] [Created] (CASSANDRA-5450) cluster
Date Wed, 10 Apr 2013 12:40:16 GMT
nivance created CASSANDRA-5450:

             Summary: cluster
                 Key: CASSANDRA-5450
             Project: Cassandra
          Issue Type: Bug
          Components: Config
    Affects Versions: 1.2.0
         Environment: centos-6-x86_64, jdk1.6.0_30, cassandra1.2.0
4 nodes, 2 datacenter, 2 nodes for each datacenter
            Reporter: nivance

I follow the guide "Initializing a multiple node cluster" in url:

the exception occurs below when start the second node:

java.lang.RuntimeException: Host ID collision between active endpoint / and /
	at org.apache.cassandra.locator.TokenMetadata.updateHostId(
	at org.apache.cassandra.service.StorageService.handleStateNormal(
	at org.apache.cassandra.service.StorageService.onChange(
	at org.apache.cassandra.service.StorageService.onJoin(
	at org.apache.cassandra.gms.Gossiper.handleMajorStateChange(
	at org.apache.cassandra.gms.Gossiper.applyStateLocally(
	at org.apache.cassandra.gms.GossipDigestAck2VerbHandler.doVerb(
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
	at java.util.concurrent.ThreadPoolExecutor$

I track the source code. the function "getHostId" in class org.apache.cassandra.gms.Gossiper,
diff endpoint it returns the same value,like:
/	4ebdbeea-2712-475b-a3e3-64b6e6b099a9
/	c375010a-c464-40c9-a7db-61de319a4cba
/	4ebdbeea-2712-475b-a3e3-64b6e6b099a9
/	4ebdbeea-2712-475b-a3e3-64b6e6b099a9
so, the exception occurs.

Is it a bug or is my Configuration wrong?

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:

View raw message