incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Morton <>
Subject Re: Clustering in .7 beta 2
Date Tue, 12 Oct 2010 19:44:02 GMT
I think this error is the same as this

It also occurs when the GCInspector is doing it's thing and is nothing to worry about. 

Do you have any firewalls etc between the nodes?


On 13 Oct, 2010,at 06:47 AM, Brayton Thompson <> wrote:

After looking around the config, I changed the rpc to the individual machines addresses (ill
give a try next). This hasn't helped. I checked out the log and discovered I get this
error whenever I try to start the server..

 INFO [GC inspection] 2010-10-12 17:42:15,323 (line 150) Pool Name    
               Active   Pending
 INFO [GC inspection] 2010-10-12 17:42:15,326 (line 156) MIGRATION_STAGE
                  0         0
 INFO [GC inspection] 2010-10-12 17:42:15,327 (line 156) GOSSIP_STAGE  
                   0         0
ERROR [GC inspection] 2010-10-12 17:42:15,329 (line 88) Fatal
exception in thread Thread[GC inspection,5,main]
	at $Proxy1.getActiveCount(Unknown Source)
	at org.apache.cassandra.service.GCInspector.logThreadPoolStats(
	at org.apache.cassandra.service.GCInspector.logIntervalGCStats(
	at org.apache.cassandra.service.GCInspector.access$000(
	at org.apachecassandra.service.GCInspector$
	at java.util.TimerThread.mainLoop(
Caused by: No such attribute: ActiveCount
	at com.sun.jmx.mbeanserver.PerInterface.getAttribute(
	at com.sun.jmx.mbeanserver.MBeanSupport.getAttribute(
	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(
	at com.sun.jmx.mbeanserver.JmxMBeanServer.getAttribute(
	... 7 more

On Oct 12, 2010, at 1:39 PM, aaron morton wrote:

What setting do you have for the rpc_address ? I use to bind to all interfaces, you
may want to set it to your ip_address listed.

my example

# Address to bind to and tell other nodes to connect to. You _must_
# change this if you want multiple nodes to be able to communicate!

# The address to bind the Thrift RPC service to


On 13 Oct 2010, at 04:40, Brayton Thompson wrote:

I'm having some issues getting three nodes to cluster together in .7 beta 2.

other node Y:  yyy.yyy.yyy.yyy
other node Z:  zzz.zzz.zzz.zzz

when starting node Y this is the output... As you can see it binds thrift to localhost even
though its set as the machines ip in the cassandra.yaml file. (i had already started the seed
node which also bound thrift to localhost and not it's ip.)

[root@cassandra2 bin]# ./cassandra &
[1] 5571
[root@cassandra2 bin]# Using adaptive heap size:  1013M
INFO 15:14:03,757 JNA not found. Native methods will be disabled.
INFO 15:14:03,779 Loading settings from file:/cassandra/apache-cassandra/conf/cassandra.yaml
INFO 15:14:03,905 DiskAccessMode 'auto' determined to be standard, indexAccessMode is standard
INFO 15:14:04,023 Couldn't detect any schema definitions in local storage.
INFO 15:14:04,025 Found table data in data directories. Consider using JMX to call org.apache.cassandra.service.StorageService.loadSchemaFromYaml().
INFO 15:14:04,056 Upgrading to 0.7. Purging hints if there are any. Old hints will be snapshotted.
INFO 15:14:04,063 Creating new commitlog segment /var/lib/cassandra/commitlog/CommitLog-1286896444063.log
INFO 15:14:04,068 Cassandra version: 0.7.0-beta2-SNAPSHOT
INFO 15:14:04,068 Thrift API version: 17.1.0
INFO 15:14:04,072 Saved Token not found. Using 44179306714782081866606724801003045301
INFO 15:14:04,072 Saved ClusterName not found. Using Test Cluster
INFO 15:14:04,091 switching in a fresh Memtable for LocationInfo at CommitLogContext(file='/var/lib/cassandra/commitlog/CommitLog-1286896444063.log',
INFO 15:14:04,095 Enqueuing flush of Memtable-LocationInfo@29071960(263 bytes, 5 operations)
INFO 15:14:04,096 Writing Memtable-LocationInfo@29071960(263 bytes, 5 operations)
INFO 15:14:04,161 Completed flushing /var/lib/cassandra/data/system/LocationInfo-e-1-Data.db
INFO 15:14:04,175 Starting up server gossip
INFO 15:14:04,192 Will not load MX4J, mx4j-tools.jar is not in the classpath
INFO 15:14:04,212 Binding thrift service to localhost/
INFO 15:14:04,214 Using TFramedTransport with a max frame size of 15728640 bytes.

[1]+  Exit 1                  ./cassandra

The relevant config definitions...



Other node Y:

   - yyy.yyy.yyy.yyy

Other node Z:

   - zzz.zzz.zzz.zzz

running ./nodetool produces this...
[root@cassandra1 bin]# ./nodetool -h ring
Address         Status State   Load            Token                                  Up     Normal  15.68 KB        4651007657733380128761844779849198747

I appreciate any help you can give.
Thank you.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
    • Unnamed multipart/related (inline, None, 0 bytes)
View raw message