You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Gary Dusbabek (JIRA)" <ji...@apache.org> on 2010/07/30 21:44:17 UTC

[jira] Commented: (CASSANDRA-1343) gossip throws IllegalStateException

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

Gary Dusbabek commented on CASSANDRA-1343:
------------------------------------------

/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/bin/java -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:54219,suspend=y,server=n -ea -Xms128M -Xmx1G -XX:TargetSurvivorRatio=90 -XX:+AggressiveOpts -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:+CMSParallelRemarkEnabled -XX:+HeapDumpOnOutOfMemoryError -XX:SurvivorRatio=128 -XX:MaxTenuringThreshold=0 -Dcom.sun.management.jmxremote.port=8081 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Dcassandra -Dcassandra-foreground=yes -Dlog4j.configuration=log4j-server.properties -Dmx4jport=9081 -Dfile.encoding=MacRoman -classpath /System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/lib/deploy.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/lib/dt.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/lib/javaws.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/lib/jce.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/lib/management-agent.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/lib/plugin.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/lib/sa-jdi.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/../Classes/alt-rt.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/../Classes/charsets.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/../Classes/classes.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/../Classes/dt.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/../Classes/jce.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/../Classes/jconsole.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/../Classes/jsse.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/../Classes/laf.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/../Classes/management-agent.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/../Classes/ui.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/lib/ext/apple_provider.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/lib/ext/dnsns.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/lib/ext/localedata.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/lib/ext/sunjce_provider.jar:/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/lib/ext/sunpkcs11.jar:/Users/gary.dusbabek/codes/apache/git-trunk/out/production/conf1:/Users/gary.dusbabek/codes/apache/git-trunk/out/production/core:/Users/gary.dusbabek/codes/apache/git-trunk/lib/jackson-mapper-asl-1.4.0.jar:/Users/gary.dusbabek/codes/apache/git-trunk/lib/log4j-1.2.14.jar:/Users/gary.dusbabek/codes/apache/git-trunk/lib/antlr-3.1.3.jar:/Users/gary.dusbabek/codes/apache/git-trunk/lib/clhm-production.jar:/Users/gary.dusbabek/codes/apache/git-trunk/lib/commons-cli-1.1.jar:/Users/gary.dusbabek/codes/apache/git-trunk/lib/jetty-6.1.21.jar:/Users/gary.dusbabek/codes/apache/git-trunk/lib/jackson-core-asl-1.4.0.jar:/Users/gary.dusbabek/codes/apache/git-trunk/lib/slf4j-log4j12-1.5.8.jar:/Users/gary.dusbabek/codes/apache/git-trunk/lib/hadoop-core-0.20.1.jar:/Users/gary.dusbabek/codes/apache/git-trunk/lib/jug-2.0.0.jar:/Users/gary.dusbabek/codes/apache/git-trunk/lib/slf4j-api-1.5.8.jar:/Users/gary.dusbabek/codes/apache/git-trunk/lib/jetty-util-6.1.21.jar:/Users/gary.dusbabek/codes/apache/git-trunk/lib/commons-collections-3.2.1.jar:/Users/gary.dusbabek/codes/apache/git-trunk/lib/jline-0.9.94.jar:/Users/gary.dusbabek/codes/apache/git-trunk/lib/servlet-api-2.5-20081211.jar:/Users/gary.dusbabek/codes/apache/git-trunk/lib/high-scale-lib.jar:/Users/gary.dusbabek/codes/apache/git-trunk/lib/commons-codec-1.2.jar:/Users/gary.dusbabek/codes/apache/git-trunk/lib/commons-lang-2.4.jar:/Users/gary.dusbabek/codes/apache/git-trunk/lib/libthrift-r959516.jar:/Users/gary.dusbabek/codes/apache/git-trunk/lib/json-simple-1.1.jar:/Users/gary.dusbabek/codes/apache/git-trunk/lib/snakeyaml-1.6.jar:/Users/gary.dusbabek/codes/apache/git-trunk/lib/avro-1.3.3~cust2.jar:/Users/gary.dusbabek/codes/apache/git-trunk/lib/guava-r05.jar:/Users/gary.dusbabek/codes/apache/git-trunk/lib/avro-1.3.3-sources~cust1.jar:/Users/gary.dusbabek/codes/apache/git-trunk/build/lib/jars/junit-4.6.jar:/Users/gary.dusbabek/codes/apache/git-trunk/out/production/thrift:/Users/gary.dusbabek/codes/apache/git-trunk/out/production/avro:/Users/gary.dusbabek/codes/apache/git-trunk/out/production/ext:/Applications/IntelliJ IDEA 9.0.1.app/lib/idea_rt.jar org.apache.cassandra.thrift.CassandraDaemon
Connected to the target VM, address: '127.0.0.1:54219', transport: 'socket'
 INFO 13:42:52,352 [main] Loading settings from /Users/gary.dusbabek/codes/apache/git-trunk/out/production/conf1/cassandra.yaml
DEBUG 13:42:52,613 [main] Syncing log with a period of 10000
 INFO 13:42:52,613 [main] DiskAccessMode 'auto' determined to be mmap, indexAccessMode is mmap
DEBUG 13:42:52,628 [main] setting auto_bootstrap to true
DEBUG 13:42:52,768 [main] Starting CFS Statistics
DEBUG 13:42:52,786 [main] Starting CFS Schema
DEBUG 13:42:52,788 [main] Starting CFS Migrations
DEBUG 13:42:52,800 [main] Starting CFS LocationInfo
DEBUG 13:42:52,844 [main] Starting CFS HintsColumnFamily
 INFO 13:42:52,891 [main] Couldn't detect any schema definitions in local storage.
 INFO 13:42:52,891 [main] Found table data in data directories. Consider using JMX to call org.apache.cassandra.service.StorageService.loadSchemaFromYaml().
 INFO 13:42:52,900 [main] Replaying /Users/gary.dusbabek/cass-configs/trunk/node1/commitlog/CommitLog-1280515326767.log
DEBUG 13:42:52,902 [main] Replaying /Users/gary.dusbabek/cass-configs/trunk/node1/commitlog/CommitLog-1280515326767.log starting at 276
DEBUG 13:42:52,903 [main] Reading mutation at 276
DEBUG 13:42:52,910 [main] replaying mutation for system.[B@5f9299f5: {ColumnFamily(LocationInfo [B:false:1@1280515327074,])}
 INFO 13:42:52,945 [main] Finished reading /Users/gary.dusbabek/cass-configs/trunk/node1/commitlog/CommitLog-1280515326767.log
DEBUG 13:42:52,946 [main] Finished waiting on mutations from recovery
 INFO 13:42:52,947 [main] Creating new commitlog segment /Users/gary.dusbabek/cass-configs/trunk/node1/commitlog/CommitLog-1280515372947.log
 INFO 13:42:52,953 [main] switching in a fresh Memtable for LocationInfo at CommitLogContext(file='/Users/gary.dusbabek/cass-configs/trunk/node1/commitlog/CommitLog-1280515372947.log', position=0)
 INFO 13:42:52,966 [main] Enqueuing flush of Memtable-LocationInfo@828432489(17 bytes, 1 operations)
 INFO 13:42:52,968 [FLUSH-WRITER-POOL:1] Writing Memtable-LocationInfo@828432489(17 bytes, 1 operations)
 INFO 13:42:53,050 [FLUSH-WRITER-POOL:1] Completed flushing /Users/gary.dusbabek/cass-configs/trunk/node1/data/system/LocationInfo-e-2-Data.db
DEBUG 13:42:53,095 [CompactionExecutor:1] Checking to see if compaction of LocationInfo would be useful
DEBUG 13:42:53,096 [MEMTABLE-POST-FLUSHER:1] Discarding 1000
DEBUG 13:42:53,098 [COMMIT-LOG-WRITER] discard completed log segments for CommitLogContext(file='/Users/gary.dusbabek/cass-configs/trunk/node1/commitlog/CommitLog-1280515372947.log', position=0), column family 1000.
DEBUG 13:42:53,098 [COMMIT-LOG-WRITER] Marking replay position 0 on commit log CommitLogSegment(/Users/gary.dusbabek/cass-configs/trunk/node1/commitlog/CommitLog-1280515372947.log)
 INFO 13:42:53,100 [main] Recovery complete
DEBUG 13:42:53,101 [main] Deleting CommitLog-1280515326767.log
 INFO 13:42:53,102 [main] Log replay complete
DEBUG 13:42:53,116 [CompactionExecutor:1] Estimating compactions for HintsColumnFamily
DEBUG 13:42:53,117 [CompactionExecutor:1] Estimating compactions for LocationInfo
DEBUG 13:42:53,117 [CompactionExecutor:1] Estimating compactions for Schema
DEBUG 13:42:53,117 [CompactionExecutor:1] Estimating compactions for Migrations
DEBUG 13:42:53,117 [CompactionExecutor:1] Estimating compactions for Statistics
DEBUG 13:42:53,117 [CompactionExecutor:1] Checking to see if compaction of HintsColumnFamily would be useful
 INFO 13:42:53,117 [main] Cassandra version: 0.7.0-SNAPSHOT
 INFO 13:42:53,117 [main] Thrift API version: 9.0.0
DEBUG 13:42:53,117 [CompactionExecutor:1] Checking to see if compaction of LocationInfo would be useful
DEBUG 13:42:53,118 [CompactionExecutor:1] Checking to see if compaction of Schema would be useful
DEBUG 13:42:53,118 [CompactionExecutor:1] Checking to see if compaction of Migrations would be useful
DEBUG 13:42:53,118 [CompactionExecutor:1] Checking to see if compaction of Statistics would be useful
 INFO 13:42:53,118 [main] Saved Token found: 127492708246848026497487109173721015738
 INFO 13:42:53,119 [main] Saved ClusterName found: Test Cluster
 INFO 13:42:53,119 [main] Saved partitioner not found. Using org.apache.cassandra.dht.RandomPartitioner
 INFO 13:42:53,120 [main] switching in a fresh Memtable for LocationInfo at CommitLogContext(file='/Users/gary.dusbabek/cass-configs/trunk/node1/commitlog/CommitLog-1280515372947.log', position=276)
 INFO 13:42:53,120 [main] Enqueuing flush of Memtable-LocationInfo@1780804346(95 bytes, 2 operations)
 INFO 13:42:53,120 [FLUSH-WRITER-POOL:1] Writing Memtable-LocationInfo@1780804346(95 bytes, 2 operations)
 INFO 13:42:53,282 [FLUSH-WRITER-POOL:1] Completed flushing /Users/gary.dusbabek/cass-configs/trunk/node1/data/system/LocationInfo-e-3-Data.db
DEBUG 13:42:53,283 [MEMTABLE-POST-FLUSHER:1] Discarding 1000
DEBUG 13:42:53,306 [COMMIT-LOG-WRITER] discard completed log segments for CommitLogContext(file='/Users/gary.dusbabek/cass-configs/trunk/node1/commitlog/CommitLog-1280515372947.log', position=276), column family 1000.
DEBUG 13:42:53,306 [COMMIT-LOG-WRITER] Marking replay position 276 on commit log CommitLogSegment(/Users/gary.dusbabek/cass-configs/trunk/node1/commitlog/CommitLog-1280515372947.log)
DEBUG 13:42:53,307 [CompactionExecutor:1] Checking to see if compaction of LocationInfo would be useful
 INFO 13:42:53,335 [main] Starting up server gossip
DEBUG 13:42:53,381 [main] clearing cached endpoints
DEBUG 13:42:53,590 [main] Will try to load mx4j now, if it's in the classpath
 INFO 13:42:53,591 [main] Will not load MX4J, mx4j-tools.jar is not in the classpath
DEBUG 13:42:54,344 [GC inspection] GC for ParNew: 13 ms, 224224 reclaimed leaving 92832088 used; max is 1211826176
DEBUG 13:42:54,345 [GC inspection] GC for ConcurrentMarkSweep: 71 ms, 67203872 reclaimed leaving 25628216 used; max is 1211826176
DEBUG 13:42:55,373 [Timer-1] Disseminating load info ...
DEBUG 13:43:20,282 [MIGRATION-STAGE:1] Applying migration 5300795b-9c0a-11df-8af1-e700f669bcfc
 INFO 13:43:20,284 [MIGRATION-STAGE:1] switching in a fresh Memtable for Migrations at CommitLogContext(file='/Users/gary.dusbabek/cass-configs/trunk/node1/commitlog/CommitLog-1280515372947.log', position=11790)
 INFO 13:43:20,284 [MIGRATION-STAGE:1] Enqueuing flush of Memtable-Migrations@19614086(5585 bytes, 1 operations)
 INFO 13:43:20,284 [FLUSH-WRITER-POOL:1] Writing Memtable-Migrations@19614086(5585 bytes, 1 operations)
 INFO 13:43:20,284 [MIGRATION-STAGE:1] switching in a fresh Memtable for Schema at CommitLogContext(file='/Users/gary.dusbabek/cass-configs/trunk/node1/commitlog/CommitLog-1280515372947.log', position=11790)
 INFO 13:43:20,285 [MIGRATION-STAGE:1] Enqueuing flush of Memtable-Schema@1088945411(2768 bytes, 3 operations)
DEBUG 13:43:20,419 [GC inspection] GC for ParNew: 13 ms, 147440 reclaimed leaving 105343544 used; max is 1211826176
DEBUG 13:43:20,427 [GC inspection] GC for ConcurrentMarkSweep: 72 ms, 75573104 reclaimed leaving 29770440 used; max is 1211826176
 INFO 13:43:20,432 [FLUSH-WRITER-POOL:1] Completed flushing /Users/gary.dusbabek/cass-configs/trunk/node1/data/system/Migrations-e-1-Data.db
DEBUG 13:43:20,433 [CompactionExecutor:1] Checking to see if compaction of Migrations would be useful
 INFO 13:43:20,433 [FLUSH-WRITER-POOL:1] Writing Memtable-Schema@1088945411(2768 bytes, 3 operations)
DEBUG 13:43:20,433 [MEMTABLE-POST-FLUSHER:1] Discarding 1002
DEBUG 13:43:20,433 [COMMIT-LOG-WRITER] discard completed log segments for CommitLogContext(file='/Users/gary.dusbabek/cass-configs/trunk/node1/commitlog/CommitLog-1280515372947.log', position=11790), column family 1002.
DEBUG 13:43:20,433 [COMMIT-LOG-WRITER] Marking replay position 11790 on commit log CommitLogSegment(/Users/gary.dusbabek/cass-configs/trunk/node1/commitlog/CommitLog-1280515372947.log)
 INFO 13:43:20,595 [FLUSH-WRITER-POOL:1] Completed flushing /Users/gary.dusbabek/cass-configs/trunk/node1/data/system/Schema-e-1-Data.db
DEBUG 13:43:20,602 [MEMTABLE-POST-FLUSHER:1] Discarding 1003
DEBUG 13:43:20,602 [COMMIT-LOG-WRITER] discard completed log segments for CommitLogContext(file='/Users/gary.dusbabek/cass-configs/trunk/node1/commitlog/CommitLog-1280515372947.log', position=11790), column family 1003.
DEBUG 13:43:20,602 [COMMIT-LOG-WRITER] Marking replay position 11790 on commit log CommitLogSegment(/Users/gary.dusbabek/cass-configs/trunk/node1/commitlog/CommitLog-1280515372947.log)
DEBUG 13:43:20,608 [MIGRATION-STAGE:1] Starting CFS Super1
DEBUG 13:43:20,609 [MIGRATION-STAGE:1] Starting CFS Standard2
DEBUG 13:43:20,610 [MIGRATION-STAGE:1] Starting CFS Super2
DEBUG 13:43:20,611 [MIGRATION-STAGE:1] Starting CFS Standard1
DEBUG 13:43:20,612 [MIGRATION-STAGE:1] Starting CFS Super3
DEBUG 13:43:20,612 [MIGRATION-STAGE:1] Starting CFS StandardByUUID1
DEBUG 13:43:20,613 [CompactionExecutor:1] Checking to see if compaction of Schema would be useful
 INFO 13:43:20,626 [COMMIT-LOG-WRITER] Creating new commitlog segment /Users/gary.dusbabek/cass-configs/trunk/node1/commitlog/CommitLog-1280515400626.log
DEBUG 13:43:20,657 [MIGRATION-STAGE:1] Applying migration 53580f3c-9c0a-11df-8af1-e700f669bcfc
 INFO 13:43:20,660 [MIGRATION-STAGE:1] switching in a fresh Memtable for Migrations at CommitLogContext(file='/Users/gary.dusbabek/cass-configs/trunk/node1/commitlog/CommitLog-1280515400626.log', position=12779)
 INFO 13:43:20,660 [MIGRATION-STAGE:1] Enqueuing flush of Memtable-Migrations@193189276(6998 bytes, 1 operations)
 INFO 13:43:20,660 [MIGRATION-STAGE:1] switching in a fresh Memtable for Schema at CommitLogContext(file='/Users/gary.dusbabek/cass-configs/trunk/node1/commitlog/CommitLog-1280515400626.log', position=12779)
 INFO 13:43:20,661 [MIGRATION-STAGE:1] Enqueuing flush of Memtable-Schema@2084371115(4181 bytes, 4 operations)
 INFO 13:43:20,661 [FLUSH-WRITER-POOL:1] Writing Memtable-Migrations@193189276(6998 bytes, 1 operations)
 INFO 13:43:20,815 [FLUSH-WRITER-POOL:1] Completed flushing /Users/gary.dusbabek/cass-configs/trunk/node1/data/system/Migrations-e-2-Data.db
 INFO 13:43:20,816 [FLUSH-WRITER-POOL:1] Writing Memtable-Schema@2084371115(4181 bytes, 4 operations)
DEBUG 13:43:20,855 [CompactionExecutor:1] Checking to see if compaction of Migrations would be useful
DEBUG 13:43:20,856 [MEMTABLE-POST-FLUSHER:1] Discarding 1002
DEBUG 13:43:20,864 [COMMIT-LOG-WRITER] discard completed log segments for CommitLogContext(file='/Users/gary.dusbabek/cass-configs/trunk/node1/commitlog/CommitLog-1280515400626.log', position=12779), column family 1002.
DEBUG 13:43:20,864 [COMMIT-LOG-WRITER] Not safe to delete commit log CommitLogSegment(/Users/gary.dusbabek/cass-configs/trunk/node1/commitlog/CommitLog-1280515372947.log); dirty is 1000, 1003, 
DEBUG 13:43:20,864 [COMMIT-LOG-WRITER] Marking replay position 12779 on commit log CommitLogSegment(/Users/gary.dusbabek/cass-configs/trunk/node1/commitlog/CommitLog-1280515400626.log)
 INFO 13:43:21,040 [FLUSH-WRITER-POOL:1] Completed flushing /Users/gary.dusbabek/cass-configs/trunk/node1/data/system/Schema-e-2-Data.db
DEBUG 13:43:21,041 [CompactionExecutor:1] Checking to see if compaction of Schema would be useful
DEBUG 13:43:21,041 [MEMTABLE-POST-FLUSHER:1] Discarding 1003
DEBUG 13:43:21,041 [COMMIT-LOG-WRITER] discard completed log segments for CommitLogContext(file='/Users/gary.dusbabek/cass-configs/trunk/node1/commitlog/CommitLog-1280515400626.log', position=12779), column family 1003.
DEBUG 13:43:21,041 [COMMIT-LOG-WRITER] Not safe to delete commit log CommitLogSegment(/Users/gary.dusbabek/cass-configs/trunk/node1/commitlog/CommitLog-1280515372947.log); dirty is 1000, 
DEBUG 13:43:21,042 [COMMIT-LOG-WRITER] Marking replay position 12779 on commit log CommitLogSegment(/Users/gary.dusbabek/cass-configs/trunk/node1/commitlog/CommitLog-1280515400626.log)
DEBUG 13:43:21,044 [MIGRATION-STAGE:1] Starting CFS Super1
DEBUG 13:43:21,050 [MIGRATION-STAGE:1] Starting CFS Standard2
DEBUG 13:43:21,051 [MIGRATION-STAGE:1] Starting CFS Super2
DEBUG 13:43:21,052 [MIGRATION-STAGE:1] Starting CFS Standard1
DEBUG 13:43:21,053 [MIGRATION-STAGE:1] Starting CFS Super3
DEBUG 13:43:21,058 [MIGRATION-STAGE:1] Starting CFS StandardByUUID1
 INFO 13:43:21,061 [COMMIT-LOG-WRITER] Creating new commitlog segment /Users/gary.dusbabek/cass-configs/trunk/node1/commitlog/CommitLog-1280515401061.log
 INFO 13:43:21,073 [RMI TCP Connection(2)-10.6.34.56] switching in a fresh Memtable for LocationInfo at CommitLogContext(file='/Users/gary.dusbabek/cass-configs/trunk/node1/commitlog/CommitLog-1280515401061.log', position=5708)
 INFO 13:43:21,081 [RMI TCP Connection(2)-10.6.34.56] Enqueuing flush of Memtable-LocationInfo@300139206(17 bytes, 1 operations)
 INFO 13:43:21,082 [FLUSH-WRITER-POOL:1] Writing Memtable-LocationInfo@300139206(17 bytes, 1 operations)
 INFO 13:43:21,093 [RMI TCP Connection(2)-10.6.34.56] switching in a fresh Memtable for Schema at CommitLogContext(file='/Users/gary.dusbabek/cass-configs/trunk/node1/commitlog/CommitLog-1280515401061.log', position=5708)
 INFO 13:43:21,100 [RMI TCP Connection(2)-10.6.34.56] Enqueuing flush of Memtable-Schema@972791731(4181 bytes, 4 operations)
 INFO 13:43:21,235 [FLUSH-WRITER-POOL:1] Completed flushing /Users/gary.dusbabek/cass-configs/trunk/node1/data/system/LocationInfo-e-4-Data.db
 INFO 13:43:21,235 [FLUSH-WRITER-POOL:1] Writing Memtable-Schema@972791731(4181 bytes, 4 operations)
DEBUG 13:43:21,239 [MEMTABLE-POST-FLUSHER:1] Discarding 1000
DEBUG 13:43:21,240 [COMMIT-LOG-WRITER] discard completed log segments for CommitLogContext(file='/Users/gary.dusbabek/cass-configs/trunk/node1/commitlog/CommitLog-1280515401061.log', position=5708), column family 1000.
 INFO 13:43:21,240 [COMMIT-LOG-WRITER] Discarding obsolete commit log:CommitLogSegment(/Users/gary.dusbabek/cass-configs/trunk/node1/commitlog/CommitLog-1280515372947.log)
DEBUG 13:43:21,243 [CompactionExecutor:1] Checking to see if compaction of LocationInfo would be useful
DEBUG 13:43:21,439 [GC inspection] GC for ParNew: 7 ms, 350704 reclaimed leaving 105776848 used; max is 1211826176
DEBUG 13:43:21,439 [GC inspection] GC for ConcurrentMarkSweep: 114 ms, 75637088 reclaimed leaving 30139760 used; max is 1211826176
 INFO 13:43:21,450 [CompactionExecutor:1] Compacting [org.apache.cassandra.io.sstable.SSTableReader(path='/Users/gary.dusbabek/cass-configs/trunk/node1/data/system/LocationInfo-e-1-Data.db'),org.apache.cassandra.io.sstable.SSTableReader(path='/Users/gary.dusbabek/cass-configs/trunk/node1/data/system/LocationInfo-e-2-Data.db'),org.apache.cassandra.io.sstable.SSTableReader(path='/Users/gary.dusbabek/cass-configs/trunk/node1/data/system/LocationInfo-e-3-Data.db'),org.apache.cassandra.io.sstable.SSTableReader(path='/Users/gary.dusbabek/cass-configs/trunk/node1/data/system/LocationInfo-e-4-Data.db')]
DEBUG 13:43:21,465 [CompactionExecutor:1] Expected bloom filter size : 1024
DEBUG 13:43:21,466 [COMMIT-LOG-WRITER] Not safe to delete commit log CommitLogSegment(/Users/gary.dusbabek/cass-configs/trunk/node1/commitlog/CommitLog-1280515400626.log); dirty is 1003, 1002, 
DEBUG 13:43:21,469 [COMMIT-LOG-WRITER] Marking replay position 5708 on commit log CommitLogSegment(/Users/gary.dusbabek/cass-configs/trunk/node1/commitlog/CommitLog-1280515401061.log)
DEBUG 13:43:21,471 [FILEUTILS-DELETE-POOL:1] Deleting CommitLog-1280515372947.log.header
DEBUG 13:43:21,473 [FILEUTILS-DELETE-POOL:1] Deleting CommitLog-1280515372947.log
 INFO 13:43:21,484 [FLUSH-WRITER-POOL:1] Completed flushing /Users/gary.dusbabek/cass-configs/trunk/node1/data/system/Schema-e-3-Data.db
DEBUG 13:43:21,486 [MEMTABLE-POST-FLUSHER:1] Discarding 1003
DEBUG 13:43:21,489 [COMMIT-LOG-WRITER] discard completed log segments for CommitLogContext(file='/Users/gary.dusbabek/cass-configs/trunk/node1/commitlog/CommitLog-1280515401061.log', position=5708), column family 1003.
DEBUG 13:43:21,495 [COMMIT-LOG-WRITER] Not safe to delete commit log CommitLogSegment(/Users/gary.dusbabek/cass-configs/trunk/node1/commitlog/CommitLog-1280515400626.log); dirty is 1002, 
DEBUG 13:43:21,496 [COMMIT-LOG-WRITER] Marking replay position 5708 on commit log CommitLogSegment(/Users/gary.dusbabek/cass-configs/trunk/node1/commitlog/CommitLog-1280515401061.log)
 INFO 13:43:22,016 [CompactionExecutor:1] Compacted to /Users/gary.dusbabek/cass-configs/trunk/node1/data/system/LocationInfo-tmp-e-5-Data.db.  913 to 492 (~53% of original) bytes for 2 keys.  Time: 554ms.
DEBUG 13:43:22,016 [CompactionExecutor:1] Checking to see if compaction of Schema would be useful
DEBUG 13:43:22,016 [CompactionExecutor:1] Checking to see if compaction of LocationInfo would be useful
DEBUG 13:43:22,439 [GC inspection] GC for ParNew: 11 ms, 1461000 reclaimed leaving 109998456 used; max is 1211826176
DEBUG 13:43:22,439 [GC inspection] GC for ConcurrentMarkSweep: 87 ms, 75576552 reclaimed leaving 34421904 used; max is 1211826176
DEBUG 13:43:55,373 [Timer-1] Disseminating load info ...
DEBUG 13:44:55,373 [Timer-1] Disseminating load info ...
DEBUG 13:45:55,373 [Timer-1] Disseminating load info ...
DEBUG 13:46:55,373 [Timer-1] Disseminating load info ...
DEBUG 13:47:55,373 [Timer-1] Disseminating load info ...
DEBUG 13:48:55,373 [Timer-1] Disseminating load info ...
DEBUG 13:49:55,373 [Timer-1] Disseminating load info ...
DEBUG 13:50:55,373 [Timer-1] Disseminating load info ...
DEBUG 13:51:55,373 [Timer-1] Disseminating load info ...
DEBUG 13:52:55,373 [Timer-1] Disseminating load info ...
DEBUG 13:53:55,374 [Timer-1] Disseminating load info ...
DEBUG 13:54:55,373 [Timer-1] Disseminating load info ...
DEBUG 13:55:55,373 [Timer-1] Disseminating load info ...
DEBUG 13:56:55,373 [Timer-1] Disseminating load info ...
DEBUG 13:57:55,373 [Timer-1] Disseminating load info ...
DEBUG 13:58:55,373 [Timer-1] Disseminating load info ...
DEBUG 13:59:55,374 [Timer-1] Disseminating load info ...
DEBUG 14:00:55,379 [Timer-1] Disseminating load info ...
DEBUG 14:01:55,380 [Timer-1] Disseminating load info ...
DEBUG 14:02:55,381 [Timer-1] Disseminating load info ...
DEBUG 14:03:55,382 [Timer-1] Disseminating load info ...
DEBUG 14:04:55,383 [Timer-1] Disseminating load info ...
DEBUG 14:05:55,383 [Timer-1] Disseminating load info ...
DEBUG 14:06:55,383 [Timer-1] Disseminating load info ...
DEBUG 14:07:55,383 [Timer-1] Disseminating load info ...
DEBUG 14:08:55,383 [Timer-1] Disseminating load info ...
DEBUG 14:09:36,781 [GC inspection] GC for ParNew: 1 ms, 21480096 reclaimed leaving 22127704 used; max is 1211826176
DEBUG 14:09:55,383 [Timer-1] Disseminating load info ...
DEBUG 14:10:55,384 [Timer-1] Disseminating load info ...
DEBUG 14:11:55,384 [Timer-1] Disseminating load info ...
DEBUG 14:12:55,385 [Timer-1] Disseminating load info ...
DEBUG 14:13:55,385 [Timer-1] Disseminating load info ...
DEBUG 14:14:55,385 [Timer-1] Disseminating load info ...
DEBUG 14:15:55,384 [Timer-1] Disseminating load info ...
DEBUG 14:16:55,384 [Timer-1] Disseminating load info ...
DEBUG 14:17:55,384 [Timer-1] Disseminating load info ...
DEBUG 14:18:55,384 [Timer-1] Disseminating load info ...
DEBUG 14:19:55,385 [Timer-1] Disseminating load info ...
DEBUG 14:20:55,385 [Timer-1] Disseminating load info ...
DEBUG 14:21:55,386 [Timer-1] Disseminating load info ...
DEBUG 14:22:06,144 [ROW-READ-STAGE:3] Their data definitions are old. Sending updates since 00000000-0000-1000-0000-000000000000
DEBUG 14:22:06,166 [ROW-READ-STAGE:3] collecting 0 of 1000: 5300795b-9c0a-11df-8af1-e700f669bcfc:false:5554@1280515400281
DEBUG 14:22:06,166 [ROW-READ-STAGE:3] collecting 1 of 1000: 53580f3c-9c0a-11df-8af1-e700f669bcfc:false:6967@1280515400638
DEBUG 14:22:06,169 [WRITE-/127.0.0.2] attempting to connect to /127.0.0.2
DEBUG 14:22:06,992 [WRITE-/127.0.0.2] attempting to connect to /127.0.0.2
 INFO 14:22:07,349 [GOSSIP_STAGE:1] Node /127.0.0.2 is now part of the cluster
DEBUG 14:22:07,349 [GOSSIP_STAGE:1] Resetting pool for /127.0.0.2
DEBUG 14:22:07,893 [WRITE-/127.0.0.2] attempting to connect to /127.0.0.2
 INFO 14:22:07,980 [HINTED-HANDOFF-POOL:1] Started hinted handoff for endpoint /127.0.0.2
 INFO 14:22:07,980 [GOSSIP_STAGE:1] InetAddress /127.0.0.2 is now UP
 INFO 14:22:07,985 [HINTED-HANDOFF-POOL:1] Finished hinted handoff of 0 rows to endpoint /127.0.0.2
DEBUG 14:22:55,386 [Timer-1] Disseminating load info ...
DEBUG 14:23:35,990 [MESSAGE-DESERIALIZER-POOL:1] Running  on default stage
DEBUG 14:23:36,913 [GOSSIP_STAGE:1] Node /127.0.0.2 state bootstrapping, token 61078635599166706937511052402724559481
ERROR 14:23:36,915 [GOSSIP_STAGE:1] Error in ThreadPoolExecutor
java.lang.IllegalStateException: replication factor (3) exceeds number of endpoints (1)
	at org.apache.cassandra.locator.RackUnawareStrategy.calculateNaturalEndpoints(RackUnawareStrategy.java:61)
	at org.apache.cassandra.locator.AbstractReplicationStrategy.getAddressRanges(AbstractReplicationStrategy.java:180)
	at org.apache.cassandra.locator.AbstractReplicationStrategy.getAddressRanges(AbstractReplicationStrategy.java:207)
	at org.apache.cassandra.service.StorageService.calculatePendingRanges(StorageService.java:786)
	at org.apache.cassandra.service.StorageService.calculatePendingRanges(StorageService.java:767)
	at org.apache.cassandra.service.StorageService.handleStateBootstrap(StorageService.java:607)
	at org.apache.cassandra.service.StorageService.onChange(StorageService.java:569)
	at org.apache.cassandra.gms.Gossiper.doNotifications(Gossiper.java:721)
	at org.apache.cassandra.gms.Gossiper.applyApplicationStateLocally(Gossiper.java:686)
	at org.apache.cassandra.gms.Gossiper.applyStateLocally(Gossiper.java:640)
	at org.apache.cassandra.gms.GossipDigestAckVerbHandler.doVerb(GossipDigestAckVerbHandler.java:61)
	at org.apache.cassandra.net.MessageDeliveryTask.run(MessageDeliveryTask.java:41)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:637)
ERROR 14:23:36,916 [GOSSIP_STAGE:1] Uncaught exception in thread Thread[GOSSIP_STAGE:1,5,main]
java.lang.IllegalStateException: replication factor (3) exceeds number of endpoints (1)
	at org.apache.cassandra.locator.RackUnawareStrategy.calculateNaturalEndpoints(RackUnawareStrategy.java:61)
	at org.apache.cassandra.locator.AbstractReplicationStrategy.getAddressRanges(AbstractReplicationStrategy.java:180)
	at org.apache.cassandra.locator.AbstractReplicationStrategy.getAddressRanges(AbstractReplicationStrategy.java:207)
	at org.apache.cassandra.service.StorageService.calculatePendingRanges(StorageService.java:786)
	at org.apache.cassandra.service.StorageService.calculatePendingRanges(StorageService.java:767)
	at org.apache.cassandra.service.StorageService.handleStateBootstrap(StorageService.java:607)
	at org.apache.cassandra.service.StorageService.onChange(StorageService.java:569)
	at org.apache.cassandra.gms.Gossiper.doNotifications(Gossiper.java:721)
	at org.apache.cassandra.gms.Gossiper.applyApplicationStateLocally(Gossiper.java:686)
	at org.apache.cassandra.gms.Gossiper.applyStateLocally(Gossiper.java:640)
	at org.apache.cassandra.gms.GossipDigestAckVerbHandler.doVerb(GossipDigestAckVerbHandler.java:61)
	at org.apache.cassandra.net.MessageDeliveryTask.run(MessageDeliveryTask.java:41)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:637)
DEBUG 14:23:55,387 [Timer-1] Disseminating load info ...
 INFO 14:24:07,913 [WRITE-/127.0.0.2] error writing to /127.0.0.2
DEBUG 14:24:08,912 [WRITE-/127.0.0.2] attempting to connect to /127.0.0.2
 INFO 14:24:12,913 [Timer-0] InetAddress /127.0.0.2 is now dead.
DEBUG 14:24:12,914 [Timer-0] Resetting pool for /127.0.0.2
DEBUG 14:24:19,913 [WRITE-/127.0.0.2] attempting to connect to /127.0.0.2
DEBUG 14:24:30,913 [WRITE-/127.0.0.2] attempting to connect to /127.0.0.2
DEBUG 14:24:41,925 [WRITE-/127.0.0.2] attempting to connect to /127.0.0.2
Disconnected from the target VM, address: '127.0.0.1:54219', transport: 'socket'

Process finished with exit code 255


> gossip throws IllegalStateException
> -----------------------------------
>
>                 Key: CASSANDRA-1343
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1343
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Gary Dusbabek
>            Assignee: Gary Dusbabek
>            Priority: Critical
>             Fix For: 0.7 beta 1
>
>
> when starting a second node, gossip throws IllegalStateException when KS with RF>1 defined on an existing 1-node cluster.
> we should be able to define keyspaces on a cluster of any size.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.