incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Rogers <ian.rog...@contactclean.com>
Subject 0.7.0 beta1 to beta2 rolling upgrade error
Date Mon, 04 Oct 2010 13:53:13 GMT

I've tried to do a rolling upgrade of a 3-node ring from beta1 to beta2
but got the error below.  The new node seems to come up fine - I can
connect to it with cassandra-cli and see the keyspaces - but it doesn't
join the ring.

My method was:
 - stop old cassandra
 - mv old cassandra dir to new place
 - unpack
http://mirror.lividpenguin.com/pub/apache//cassandra/0.7.0/apache-cassandra-0.7.0-beta1-bin.tar.gz

 - edit cassandra.yaml with appropriate IP addresses
 - start it


Any ideas what's wrong? Is this possible? Any more info you need?

Regards,

Ian



 INFO [main] 2010-10-04 14:44:24,133 CLibrary.java (line 43) JNA not
found. Native methods will be disabled.
 INFO [main] 2010-10-04 14:44:24,174 DatabaseDescriptor.java (line 125)
Loading settings from file:/usr/share/cassandra/conf/cassandra.yaml
 INFO [main] 2010-10-04 14:44:24,506 DatabaseDescriptor.java (line 176)
DiskAccessMode 'auto' determined to be standard, indexAccessMode is
standard
 INFO [main] 2010-10-04 14:44:24,900 SSTableReader.java (line 162)
Sampling index for /var/lib/cassandra/data/system/Schema-e-2-<>
 INFO [main] 2010-10-04 14:44:24,941 SSTableReader.java (line 162)
Sampling index for /var/lib/cassandra/data/system/Schema-e-1-<>
 INFO [main] 2010-10-04 14:44:24,989 SSTableReader.java (line 162)
Sampling index for /var/lib/cassandra/data/system/Migrations-e-2-<>
 INFO [main] 2010-10-04 14:44:24,991 SSTableReader.java (line 162)
Sampling index for /var/lib/cassandra/data/system/Migrations-e-1-<>
 INFO [main] 2010-10-04 14:44:25,005 SSTableReader.java (line 162)
Sampling index for /var/lib/cassandra/data/system/LocationInfo-e-21-<>
 INFO [main] 2010-10-04 14:44:25,132 DatabaseDescriptor.java (line 443)
Loading schema version 724c8cf6-cb17-11df-9c90-ed76782a4b26
 INFO [main] 2010-10-04 14:44:26,403 SSTable.java (line 145) Deleted
/var/lib/cassandra/data/system/LocationInfo-e-18-<>
 INFO [main] 2010-10-04 14:44:26,406 SSTable.java (line 145) Deleted
/var/lib/cassandra/data/system/LocationInfo-e-19-<>
 INFO [main] 2010-10-04 14:44:26,409 SSTable.java (line 145) Deleted
/var/lib/cassandra/data/system/LocationInfo-e-17-<>
 INFO [main] 2010-10-04 14:44:26,411 SSTable.java (line 145) Deleted
/var/lib/cassandra/data/system/LocationInfo-e-20-<>
 INFO [main] 2010-10-04 14:44:26,448 CommitLog.java (line 174) Replaying
/var/lib/cassandra/commitlog/CommitLog-1286199323936.log
 INFO [main] 2010-10-04 14:44:27,823 CommitLog.java (line 325) Finished
reading /var/lib/cassandra/commitlog/CommitLog-1286199323936.log
 INFO [main] 2010-10-04 14:44:27,827 CommitLogSegment.java (line 50)
Creating new commitlog segment
/var/lib/cassandra/commitlog/CommitLog-1286199867827.log
 INFO [main] 2010-10-04 14:44:27,986 ColumnFamilyStore.java (line 459)
switching in a fresh Memtable for LocationInfo at
CommitLogContext(file='/var/lib/cassandra/commitlog/CommitLog-1286199867827.log',
position=0)
 INFO [main] 2010-10-04 14:44:27,997 ColumnFamilyStore.java (line 771)
Enqueuing flush of Memtable-LocationInfo@1506732(17 bytes, 1 operations)
 INFO [FLUSH-WRITER-POOL:1] 2010-10-04 14:44:28,000 Memtable.java (line
150) Writing Memtable-LocationInfo@1506732(17 bytes, 1 operations)
 INFO [FLUSH-WRITER-POOL:1] 2010-10-04 14:44:28,322 Memtable.java (line
157) Completed flushing
/var/lib/cassandra/data/system/LocationInfo-e-22-Data.db
 INFO [main] 2010-10-04 14:44:28,355 CommitLog.java (line 182) Log replay
complete
 INFO [main] 2010-10-04 14:44:28,420 StorageService.java (line 331)
Cassandra version: 0.7.0-beta2
 INFO [main] 2010-10-04 14:44:28,421 StorageService.java (line 332) Thrift
API version: 17.1.0
 INFO [main] 2010-10-04 14:44:28,423 SystemTable.java (line 261) Saved
Token found: 0
 INFO [main] 2010-10-04 14:44:28,424 SystemTable.java (line 278) Saved
ClusterName found: Test Cluster
 INFO [main] 2010-10-04 14:44:28,425 SystemTable.java (line 293) Saved
partitioner not found. Using org.apache.cassandra.dht.RandomPartitioner
 INFO [main] 2010-10-04 14:44:28,428 ColumnFamilyStore.java (line 459)
switching in a fresh Memtable for LocationInfo at
CommitLogContext(file='/var/lib/cassandra/commitlog/CommitLog-1286199867827.log',
position=276)
 INFO [main] 2010-10-04 14:44:28,429 ColumnFamilyStore.java (line 771)
Enqueuing flush of Memtable-LocationInfo@2883071(95 bytes, 2 operations)
 INFO [FLUSH-WRITER-POOL:1] 2010-10-04 14:44:28,430 Memtable.java (line
150) Writing Memtable-LocationInfo@2883071(95 bytes, 2 operations)
 INFO [FLUSH-WRITER-POOL:1] 2010-10-04 14:44:28,714 Memtable.java (line
157) Completed flushing
/var/lib/cassandra/data/system/LocationInfo-e-23-Data.db
 INFO [main] 2010-10-04 14:44:28,744 StorageService.java (line 363)
Starting up server gossip
 INFO [main] 2010-10-04 14:44:28,819 Mx4jTool.java (line 73) Will not load
MX4J, mx4j-tools.jar is not in the classpath
 INFO [main] 2010-10-04 14:44:29,028 CassandraDaemon.java (line 76)
Binding thrift service to /10.21.1.95:9160
 INFO [main] 2010-10-04 14:44:29,047 CassandraDaemon.java (line 90) Using
TFramedTransport with a max frame size of 15728640 bytes.
 INFO [main] 2010-10-04 14:44:29,072 CassandraDaemon.java (line 118)
Listening for thrift clients...
 INFO [GC inspection] 2010-10-04 14:44:29,813 GCInspector.java (line 129)
GC for ConcurrentMarkSweep: 9655569815352744 ms, 0 reclaimed leaving 0
used; max is 0
 INFO [GC inspection] 2010-10-04 14:44:29,818 GCInspector.java (line 150)
Pool Name                    Active   Pending
 INFO [GC inspection] 2010-10-04 14:44:29,827 GCInspector.java (line 156)
MIGRATION_STAGE                   0         0
 INFO [GC inspection] 2010-10-04 14:44:29,829 GCInspector.java (line 156)
GOSSIP_STAGE                      0         0
ERROR [GC inspection] 2010-10-04 14:44:29,835 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


Mime
View raw message