I think this error is the same as this http://www.mail-archive.com/user@cassandra.apache.org/msg06295.html

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?

Aaron
 


On 13 Oct, 2010,at 06:47 AM, Brayton Thompson <thomp...@grnoc.iu.edu> wrote:

After looking around the config, I changed the rpc to the individual machines addresses (ill give 0.0.0.0 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 GCInspector.java (line 150) Pool Name                    Active   Pending
 INFO [GC inspection] 2010-10-12 17:42:15,326 GCInspector.java (line 156) MIGRATION_STAGE                   0         0
 INFO [GC inspection] 2010-10-12 17:42:15,327 GCInspector.java (line 156) GOSSIP_STAGE                      0         0
ERROR [GC inspection] 2010-10-12 17:42:15,329 AbstractCassandraDaemon.java (line 88) Fatal exception in thread Thread[GC inspection,5,main]
java.lang.reflect.UndeclaredThrowableException
at $Proxy1.getActiveCount(Unknown Source)
at org.apache.cassandra.service.GCInspector.logThreadPoolStats(GCInspector.java:156)
at org.apache.cassandra.service.GCInspector.logIntervalGCStats(GCInspector.java:136)
at org.apache.cassandra.service.GCInspector.access$000(GCInspector.java:39)
at org.apache.cassandra.service.GCInspector$1.run(GCInspector.java:93)
at java.util.TimerThread.mainLoop(Timer.java:534)
at java.util.TimerThread.run(Timer.java:484)
Caused by: javax.management.AttributeNotFoundException: No such attribute: ActiveCount
at com.sun.jmx.mbeanserver.PerInterface.getAttribute(PerInterface.java:81)
at com.sun.jmx.mbeanserver.MBeanSupport.getAttribute(MBeanSupport.java:205)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(DefaultMBeanServerInterceptor.java:683)
at com.sun.jmx.mbeanserver.JmxMBeanServer.getAttribute(JmxMBeanServer.java:672)
at javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:280)
... 7 more


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

What setting do you have for the rpc_address ? I use 0.0.0.0 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!
listen_address:

# The address to bind the Thrift RPC service to
rpc_address: 0.0.0.0

Aaron

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.

Seed: xxx.xxx.xxx.xxx
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.)

[r...@cassandra2 bin]# ./cassandra &
[1] 5571
[r...@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', position=552)
INFO 15:14:04,095 Enqueuing flush of memtable-locationi...@29071960(263 bytes, 5 operations)
INFO 15:14:04,096 Writing memtable-locationi...@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/127.0.0.1:9160
INFO 15:14:04,214 Using TFramedTransport with a max frame size of 15728640 bytes.

[1]+  Exit 1                  ./cassandra

The relevant config definitions...

Seed:
seeds:
   - xxx.xxx.xxx.xxx

listen_address:
   - xxx.xxx.xxx.xxx


Other node Y:
seeds:
   - xxx.xxx.xxx.xxx

listen_address:
   - yyy.yyy.yyy.yyy


Other node Z:
seeds:
   - xxx.xxx.xxx.xxx

listen_address:
   - zzz.zzz.zzz.zzz

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

I appreciate any help you can give.
Thank you.

Reply via email to