Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 16F6610F10 for ; Mon, 12 Aug 2013 21:08:01 +0000 (UTC) Received: (qmail 46981 invoked by uid 500); 12 Aug 2013 21:07:58 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 46930 invoked by uid 500); 12 Aug 2013 21:07:58 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 46922 invoked by uid 99); 12 Aug 2013 21:07:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Aug 2013 21:07:58 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW X-Spam-Check-By: apache.org Received-SPF: error (athena.apache.org: local policy) Received: from [209.85.219.45] (HELO mail-oa0-f45.google.com) (209.85.219.45) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Aug 2013 21:07:54 +0000 Received: by mail-oa0-f45.google.com with SMTP id m1so10360430oag.18 for ; Mon, 12 Aug 2013 14:07:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:from:content-type:message-id:mime-version :subject:date:references:to:in-reply-to; bh=8RstYZ+IALdy7/+v+6jK3msXH5cMe1TC2wMeeLyhjhI=; b=BgTsuZMRSmlEqWxXfLm2t3cJpNXXcGQLrp22MSZTiVaeEuXr1iXMWUdqnF3nWTAPPj H4rEaA4we34RAezpcmDGOmKzs60/NtxbuBSS/24lf3pliqTxt+HHwJyHOWEHSxRQajtZ 2hNdVQZNrABmIfKp/TAOcR6fb9Zd17O3os16UUMunFLR+NO+hGyXpdZ2vZwkmq+lZLGY Fo+gDkxqEvrVRoAA0AJP+Ekcw7nXbJCEc3/7h/8/maPG2nk3lKWFJRfsAdZ8ncxgzgZT ozkUmenJ4tL4IVxT8LUDxx4Noeo8L5TcwT914a//C4qFj0fsIlliBRVBNw/Be5sn3/lF l5cg== X-Gm-Message-State: ALoCoQndJPj/h/MfJvxFanyuJgk88pWo+bQpBCH8ZwhscdRWlQmv+YFdoWFgzed1GI1C3MTqy5bS X-Received: by 10.60.52.101 with SMTP id s5mr879385oeo.56.1376341632464; Mon, 12 Aug 2013 14:07:12 -0700 (PDT) Received: from [172.16.1.7] ([203.86.207.101]) by mx.google.com with ESMTPSA id g1sm35879154oeq.6.2013.08.12.14.07.08 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 12 Aug 2013 14:07:10 -0700 (PDT) From: Aaron Morton Content-Type: multipart/alternative; boundary="Apple-Mail=_FE8A36B1-14B1-4DCA-BFB5-094B3F54D4E8" Message-Id: <9867446D-6141-40C8-A5BA-4995DD277F00@thelastpickle.com> Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Subject: Re: JmxReporter.java (line 388) Error processing Date: Tue, 13 Aug 2013 09:07:07 +1200 References: To: user@cassandra.apache.org In-Reply-To: X-Mailer: Apple Mail (2.1508) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail=_FE8A36B1-14B1-4DCA-BFB5-094B3F54D4E8 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 Are you running more than one node ?=20 Is so make sure they have the same seed list, cluster name and can see = each other on port 7000.=20 Cheers ----------------- Aaron Morton Cassandra Consultant New Zealand @aaronmorton http://www.thelastpickle.com On 9/08/2013, at 10:08 AM, kohanm wrote: > Hi Dave=20 >=20 > I added listen_address:10.0.2.15 to the cassandra.yaml file and it = worked. > But i got another error please look at errors(short): > "ERROR 14:47:00,398 Exception encountered during startup > java.lang.RuntimeException: No other nodes seen! Unable to = bootstrap.If you intended to start a single-node cluster, you should = make sure your broadcast_address (or listen_address) is listed as a = seed. Otherwise, you need to determine why the seed being contacted has = no knowledge of the rest of the cluster. Usually, this can be solved by = giving all nodes the same seed list. > " >=20 >=20 > Here are on details: >=20 >=20 >=20 > INFO 14:46:20,654 Logging initialized > INFO 14:46:20,724 32bit JVM detected. It is recommended to run = Cassandra on a 64bit JVM for better performance. > INFO 14:46:20,729 JVM vendor/version: Java HotSpot(TM) Client = VM/1.6.0_45 > INFO 14:46:20,760 Heap size: 253558784/253558784 > INFO 14:46:20,761 Classpath: = bin/../conf:bin/../build/classes/main:bin/../build/classes/thrift:bin/../l= ib/antlr-3.2.jar:bin/../lib/apache-cassandra-1.2.8.jar:bin/../lib/apache-c= assandra-clientutil-1.2.8.jar:bin/../lib/apache-cassandra-thrift-1.2.8.jar= :bin/../lib/avro-1.4.0-fixes.jar:bin/../lib/avro-1.4.0-sources-fixes.jar:b= in/../lib/commons-cli-1.1.jar:bin/../lib/commons-codec-1.2.jar:bin/../lib/= commons-lang-2.6.jar:bin/../lib/compress-lzf-0.8.4.jar:bin/../lib/concurre= ntlinkedhashmap-lru-1.3.jar:bin/../lib/guava-13.0.1.jar:bin/../lib/high-sc= ale-lib-1.1.2.jar:bin/../lib/jackson-core-asl-1.9.2.jar:bin/../lib/jackson= -mapper-asl-1.9.2.jar:bin/../lib/jamm-0.2.5.jar:bin/../lib/jbcrypt-0.3m.ja= r:bin/../lib/jline-1.0.jar:bin/../lib/jna.jar:bin/../lib/json-simple-1.1.j= ar:bin/../lib/libthrift-0.7.0.jar:bin/../lib/log4j-1.2.16.jar:bin/../lib/l= z4-1.1.0.jar:bin/../lib/metrics-core-2.0.3.jar:bin/../lib/netty-3.5.9.Fina= l.jar:bin/../lib/servlet-api-2.5-20081211.jar:bin/../lib/slf4j-api-1.7.2.j= ar:bin/../lib/slf4j-log4j12-1.7.2.jar:bin/../lib/snakeyaml-1.6.jar:bin/../= lib/snappy-java-1.0.5.jar:bin/../lib/snaptree-0.1.jar:bin/../lib/jamm-0.2.= 5.jar > WARN 14:46:21,038 Unable to lock JVM memory (ENOMEM). This can result = in part of the JVM being swapped out, especially with mmapped I/O = enabled. Increase RLIMIT_MEMLOCK or run Cassandra as root. > INFO 14:46:21,130 Loading settings from = file:/home/massoud/cassandra/apache-cassandra-1.2.8/conf/cassandra.yaml > INFO 14:46:22,323 Data files directories: [/var/lib/cassandra/data] > INFO 14:46:22,323 Commit log directory: /var/lib/cassandra/commitlog > INFO 14:46:22,325 DiskAccessMode 'auto' determined to be standard, = indexAccessMode is standard > INFO 14:46:22,325 disk_failure_policy is stop > INFO 14:46:22,390 Global memtable threshold is enabled at 80MB > INFO 14:46:23,149 Not using multi-threaded compaction > INFO 14:46:24,085 Initializing key cache with capacity of 12 MBs. > INFO 14:46:24,139 Scheduling key cache save to each 14400 seconds = (going to save all keys). > INFO 14:46:24,152 Initializing row cache with capacity of 0 MBs and = provider org.apache.cassandra.cache.SerializingCacheProvider > INFO 14:46:24,200 Scheduling row cache save to each 0 seconds (going = to save all keys). > INFO 14:46:24,781 Opening = /var/lib/cassandra/data/system/schema_keyspaces/system-schema_keyspaces-ic= -3 (227 bytes) > INFO 14:46:24,781 Opening = /var/lib/cassandra/data/system/schema_keyspaces/system-schema_keyspaces-ic= -3 (227 bytes) > INFO 14:46:24,900 Opening = /var/lib/cassandra/data/system/schema_keyspaces/system-schema_keyspaces-ic= -2 (221 bytes) > INFO 14:46:24,900 Opening = /var/lib/cassandra/data/system/schema_keyspaces/system-schema_keyspaces-ic= -2 (221 bytes) > INFO 14:46:24,953 Opening = /var/lib/cassandra/data/system/schema_keyspaces/system-schema_keyspaces-ic= -7 (220 bytes) > INFO 14:46:24,954 Opening = /var/lib/cassandra/data/system/schema_keyspaces/system-schema_keyspaces-ic= -7 (220 bytes) > INFO 14:46:24,983 Opening = /var/lib/cassandra/data/system/schema_keyspaces/system-schema_keyspaces-ic= -4 (227 bytes) > INFO 14:46:24,984 Opening = /var/lib/cassandra/data/system/schema_keyspaces/system-schema_keyspaces-ic= -4 (227 bytes) > INFO 14:46:25,011 Opening = /var/lib/cassandra/data/system/schema_keyspaces/system-schema_keyspaces-ic= -6 (220 bytes) > INFO 14:46:25,012 Opening = /var/lib/cassandra/data/system/schema_keyspaces/system-schema_keyspaces-ic= -6 (220 bytes) > INFO 14:46:25,021 Opening = /var/lib/cassandra/data/system/schema_keyspaces/system-schema_keyspaces-ic= -1 (221 bytes) > INFO 14:46:25,022 Opening = /var/lib/cassandra/data/system/schema_keyspaces/system-schema_keyspaces-ic= -1 (221 bytes) > INFO 14:46:25,053 Opening = /var/lib/cassandra/data/system/schema_keyspaces/system-schema_keyspaces-ic= -5 (230 bytes) > INFO 14:46:25,053 Opening = /var/lib/cassandra/data/system/schema_keyspaces/system-schema_keyspaces-ic= -5 (230 bytes) > INFO 14:46:25,166 Opening = /var/lib/cassandra/data/system/schema_columnfamilies/system-schema_columnf= amilies-ic-5 (4596 bytes) > INFO 14:46:25,168 Opening = /var/lib/cassandra/data/system/schema_columnfamilies/system-schema_columnf= amilies-ic-5 (4596 bytes) > INFO 14:46:25,178 Opening = /var/lib/cassandra/data/system/schema_columnfamilies/system-schema_columnf= amilies-ic-7 (4593 bytes) > INFO 14:46:25,178 Opening = /var/lib/cassandra/data/system/schema_columnfamilies/system-schema_columnf= amilies-ic-7 (4593 bytes) > INFO 14:46:25,211 Opening = /var/lib/cassandra/data/system/schema_columnfamilies/system-schema_columnf= amilies-ic-3 (4597 bytes) > INFO 14:46:25,212 Opening = /var/lib/cassandra/data/system/schema_columnfamilies/system-schema_columnf= amilies-ic-3 (4597 bytes) > INFO 14:46:25,225 Opening = /var/lib/cassandra/data/system/schema_columnfamilies/system-schema_columnf= amilies-ic-4 (4589 bytes) > INFO 14:46:25,225 Opening = /var/lib/cassandra/data/system/schema_columnfamilies/system-schema_columnf= amilies-ic-4 (4589 bytes) > INFO 14:46:25,236 Opening = /var/lib/cassandra/data/system/schema_columnfamilies/system-schema_columnf= amilies-ic-1 (4597 bytes) > INFO 14:46:25,237 Opening = /var/lib/cassandra/data/system/schema_columnfamilies/system-schema_columnf= amilies-ic-1 (4597 bytes) > INFO 14:46:25,256 Opening = /var/lib/cassandra/data/system/schema_columnfamilies/system-schema_columnf= amilies-ic-6 (4593 bytes) > INFO 14:46:25,257 Opening = /var/lib/cassandra/data/system/schema_columnfamilies/system-schema_columnf= amilies-ic-6 (4593 bytes) > INFO 14:46:25,272 Opening = /var/lib/cassandra/data/system/schema_columnfamilies/system-schema_columnf= amilies-ic-2 (4596 bytes) > INFO 14:46:25,272 Opening = /var/lib/cassandra/data/system/schema_columnfamilies/system-schema_columnf= amilies-ic-2 (4596 bytes) > INFO 14:46:25,381 Opening = /var/lib/cassandra/data/system/schema_columns/system-schema_columns-ic-2 = (4308 bytes) > INFO 14:46:25,381 Opening = /var/lib/cassandra/data/system/schema_columns/system-schema_columns-ic-2 = (4308 bytes) > INFO 14:46:25,391 Opening = /var/lib/cassandra/data/system/schema_columns/system-schema_columns-ic-6 = (4307 bytes) > INFO 14:46:25,392 Opening = /var/lib/cassandra/data/system/schema_columns/system-schema_columns-ic-6 = (4307 bytes) > INFO 14:46:25,413 Opening = /var/lib/cassandra/data/system/schema_columns/system-schema_columns-ic-7 = (4309 bytes) > INFO 14:46:25,414 Opening = /var/lib/cassandra/data/system/schema_columns/system-schema_columns-ic-7 = (4309 bytes) > INFO 14:46:25,440 Opening = /var/lib/cassandra/data/system/schema_columns/system-schema_columns-ic-4 = (4308 bytes) > INFO 14:46:25,441 Opening = /var/lib/cassandra/data/system/schema_columns/system-schema_columns-ic-4 = (4308 bytes) > INFO 14:46:25,450 Opening = /var/lib/cassandra/data/system/schema_columns/system-schema_columns-ic-3 = (4310 bytes) > INFO 14:46:25,450 Opening = /var/lib/cassandra/data/system/schema_columns/system-schema_columns-ic-3 = (4310 bytes) > INFO 14:46:25,460 Opening = /var/lib/cassandra/data/system/schema_columns/system-schema_columns-ic-5 = (4310 bytes) > INFO 14:46:25,462 Opening = /var/lib/cassandra/data/system/schema_columns/system-schema_columns-ic-5 = (4310 bytes) > INFO 14:46:25,488 Opening = /var/lib/cassandra/data/system/schema_columns/system-schema_columns-ic-1 = (4309 bytes) > INFO 14:46:25,488 Opening = /var/lib/cassandra/data/system/schema_columns/system-schema_columns-ic-1 = (4309 bytes) > INFO 14:46:25,577 Opening = /var/lib/cassandra/data/system/local/system-local-ic-16 (356 bytes) > INFO 14:46:25,577 Opening = /var/lib/cassandra/data/system/local/system-local-ic-16 (356 bytes) > INFO 14:46:25,601 Opening = /var/lib/cassandra/data/system/local/system-local-ic-17 (84 bytes) > INFO 14:46:25,601 Opening = /var/lib/cassandra/data/system/local/system-local-ic-17 (84 bytes) > INFO 14:46:25,644 Opening = /var/lib/cassandra/data/system/local/system-local-ic-18 (240 bytes) > INFO 14:46:25,644 Opening = /var/lib/cassandra/data/system/local/system-local-ic-18 (240 bytes) > INFO 14:46:27,165 completed pre-loading (3 keys) key cache. > INFO 14:46:27,192 Replaying = /var/lib/cassandra/commitlog/CommitLog-2-1375991740291.log, = /var/lib/cassandra/commitlog/CommitLog-2-1375991740292.log > INFO 14:46:27,264 Replaying = /var/lib/cassandra/commitlog/CommitLog-2-1375991740291.log > INFO 14:46:27,532 Finished reading = /var/lib/cassandra/commitlog/CommitLog-2-1375991740291.log > INFO 14:46:27,533 Replaying = /var/lib/cassandra/commitlog/CommitLog-2-1375991740292.log > INFO 14:46:27,559 Finished reading = /var/lib/cassandra/commitlog/CommitLog-2-1375991740292.log > INFO 14:46:27,654 Enqueuing flush of Memtable-local@24263807(52/52 = serialized/live bytes, 4 ops) > INFO 14:46:27,659 Writing Memtable-local@24263807(52/52 = serialized/live bytes, 4 ops) > INFO 14:46:27,667 Enqueuing flush of = Memtable-schema_keyspaces@21846043(251/251 serialized/live bytes, 8 ops) > INFO 14:46:27,668 Enqueuing flush of = Memtable-schema_columns@13856755(24717/24717 serialized/live bytes, 398 = ops) > INFO 14:46:27,692 Enqueuing flush of = Memtable-schema_columnfamilies@19546474(22187/22187 serialized/live = bytes, 369 ops) > INFO 14:46:27,803 Completed flushing = /var/lib/cassandra/data/system/local/system-local-ic-19-Data.db (84 = bytes) for commitlog position ReplayPosition(segmentId=3D1375998386936, = position=3D142) > INFO 14:46:27,976 Writing Memtable-schema_keyspaces@21846043(251/251 = serialized/live bytes, 8 ops) > INFO 14:46:28,075 Completed flushing = /var/lib/cassandra/data/system/schema_keyspaces/system-schema_keyspaces-ic= -8-Data.db (223 bytes) for commitlog position = ReplayPosition(segmentId=3D1375998386936, position=3D142) > INFO 14:46:28,077 Writing = Memtable-schema_columns@13856755(24717/24717 serialized/live bytes, 398 = ops) > INFO 14:46:28,188 Completed flushing = /var/lib/cassandra/data/system/schema_columns/system-schema_columns-ic-8-D= ata.db (4310 bytes) for commitlog position = ReplayPosition(segmentId=3D1375998386936, position=3D142) > INFO 14:46:28,195 Writing = Memtable-schema_columnfamilies@19546474(22187/22187 serialized/live = bytes, 369 ops) > INFO 14:46:28,307 Completed flushing = /var/lib/cassandra/data/system/schema_columnfamilies/system-schema_columnf= amilies-ic-8-Data.db (4595 bytes) for commitlog position = ReplayPosition(segmentId=3D1375998386936, position=3D142) > INFO 14:46:28,311 Log replay complete, 13 replayed mutations > INFO 14:46:28,892 Cassandra version: 1.2.8 > INFO 14:46:28,893 Thrift API version: 19.36.0 > INFO 14:46:28,893 CQL supported versions: 2.0.0,3.0.5 (default: = 3.0.5) > INFO 14:46:29,012 Loading persisted ring state > INFO 14:46:29,019 Starting up server gossip > INFO 14:46:29,078 Enqueuing flush of Memtable-local@14651541(251/251 = serialized/live bytes, 9 ops) > INFO 14:46:29,080 Writing Memtable-local@14651541(251/251 = serialized/live bytes, 9 ops) > INFO 14:46:29,184 Completed flushing = /var/lib/cassandra/data/system/local/system-local-ic-20-Data.db (239 = bytes) for commitlog position ReplayPosition(segmentId=3D1375998386936, = position=3D53949) > INFO 14:46:29,255 Compacting = [SSTableReader(path=3D'/var/lib/cassandra/data/system/local/system-local-i= c-17-Data.db'), = SSTableReader(path=3D'/var/lib/cassandra/data/system/local/system-local-ic= -18-Data.db'), = SSTableReader(path=3D'/var/lib/cassandra/data/system/local/system-local-ic= -16-Data.db'), = SSTableReader(path=3D'/var/lib/cassandra/data/system/local/system-local-ic= -20-Data.db'), = SSTableReader(path=3D'/var/lib/cassandra/data/system/local/system-local-ic= -19-Data.db')] > INFO 14:46:29,843 Compacted 5 sstables to = [/var/lib/cassandra/data/system/local/system-local-ic-21,]. 1,003 bytes = to 358 (~35% of original) in 482ms =3D 0.000708MB/s. 5 total rows, 1 = unique. Row merge counts were {1:0, 2:0, 3:0, 4:0, 5:1, } > INFO 14:46:29,935 Starting Messaging Service on port 7000 > INFO 14:46:30,223 Enqueuing flush of Memtable-local@2861196(86/86 = serialized/live bytes, 4 ops) > INFO 14:46:30,225 Writing Memtable-local@2861196(86/86 = serialized/live bytes, 4 ops) > INFO 14:46:30,346 Completed flushing = /var/lib/cassandra/data/system/local/system-local-ic-22-Data.db (122 = bytes) for commitlog position ReplayPosition(segmentId=3D1375998386936, = position=3D54226) > INFO 14:46:30,351 JOINING: waiting for ring information > INFO 14:47:00,375 JOINING: schema complete, ready to bootstrap > INFO 14:47:00,388 JOINING: getting bootstrap token > ERROR 14:47:00,398 Exception encountered during startup > java.lang.RuntimeException: No other nodes seen! Unable to = bootstrap.If you intended to start a single-node cluster, you should = make sure your broadcast_address (or listen_address) is listed as a = seed. Otherwise, you need to determine why the seed being contacted has = no knowledge of the rest of the cluster. Usually, this can be solved by = giving all nodes the same seed list. > at = org.apache.cassandra.dht.BootStrapper.getBootstrapSource(BootStrapper.java= :154) > at = org.apache.cassandra.dht.BootStrapper.getBalancedToken(BootStrapper.java:1= 35) > at = org.apache.cassandra.dht.BootStrapper.getBootstrapTokens(BootStrapper.java= :115) > at = org.apache.cassandra.service.StorageService.joinTokenRing(StorageService.j= ava:666) > at = org.apache.cassandra.service.StorageService.initServer(StorageService.java= :554) > at = org.apache.cassandra.service.StorageService.initServer(StorageService.java= :451) > at = org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:34= 8) > at = org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java= :447) > at = org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:490= ) > java.lang.RuntimeException: No other nodes seen! Unable to = bootstrap.If you intended to start a single-node cluster, you should = make sure your broadcast_address (or listen_address) is listed as a = seed. Otherwise, you need to determine why the seed being contacted has = no knowledge of the rest of the cluster. Usually, this can be solved by = giving all nodes the same seed list. > at = org.apache.cassandra.dht.BootStrapper.getBootstrapSource(BootStrapper.java= :154) > at = org.apache.cassandra.dht.BootStrapper.getBalancedToken(BootStrapper.java:1= 35) > at = org.apache.cassandra.dht.BootStrapper.getBootstrapTokens(BootStrapper.java= :115) > at = org.apache.cassandra.service.StorageService.joinTokenRing(StorageService.j= ava:666) > at = org.apache.cassandra.service.StorageService.initServer(StorageService.java= :554) > at = org.apache.cassandra.service.StorageService.initServer(StorageService.java= :451) > at = org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:34= 8) > at = org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java= :447) > at = org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:490= ) > Exception encountered during startup: No other nodes seen! Unable to = bootstrap.If you intended to start a single-node cluster, you should = make sure your broadcast_address (or listen_address) is listed as a = seed. Otherwise, you need to determine why the seed being contacted has = no knowledge of the rest of the cluster. Usually, this can be solved by = giving all nodes the same seed list. > ERROR 14:47:00,425 Exception in thread = Thread[StorageServiceShutdownHook,5,main] > java.lang.NullPointerException > at = org.apache.cassandra.service.StorageService.stopRPCServer(StorageService.j= ava:321) > at = org.apache.cassandra.service.StorageService.shutdownClientServers(StorageS= ervice.java:370) > at = org.apache.cassandra.service.StorageService.access$000(StorageService.java= :88) > at = org.apache.cassandra.service.StorageService$1.runMayThrow(StorageService.j= ava:519) > at = org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28) > at java.lang.Thread.run(Thread.java:662) > massoud@massoud-VirtualBox:~/cassandra/apache-cassandra-1.2.8$=20 >=20 >=20 > On Thu, Aug 8, 2013 at 2:47 PM, David Ward = wrote: > It maybe easier to manage virtualbox using vagrant ( = http://www.vagrantup.com/ ). =20 >=20 > I am going to assume eth0 from your ifconfig output is a dhcp/dynamic = IP address thats going to change every time you halt/start your = virtualbox instance. >=20 > Virtualbox is far outside the scope of C* so I'd recommend checking = out the manual on Virtualbox networking = http://www.virtualbox.org/manual/ch06.html plus using a dynamic IP for = c* will probably yield undesirable results. >=20 >=20 >=20 >=20 >=20 > On Thu, Aug 8, 2013 at 2:51 PM, kohanm = wrote: > Hi Dave > Can you tell me more specific. > Thanks, > Here are ifconfig: >=20 > ifconfig > eth0 Link encap:Ethernet HWaddr 08:00:27:00:32:0c =20 > inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0 > inet6 addr: fe80::a00:27ff:fe00:320c/64 Scope:Link > UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 > RX packets:6564 errors:0 dropped:0 overruns:0 frame:0 > TX packets:5588 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:1000=20 > RX bytes:5649530 (5.6 MB) TX bytes:1069524 (1.0 MB) >=20 > lo Link encap:Local Loopback =20 > inet addr:127.0.0.1 Mask:255.0.0.0 > inet6 addr: ::1/128 Scope:Host > UP LOOPBACK RUNNING MTU:16436 Metric:1 > RX packets:20 errors:0 dropped:0 overruns:0 frame:0 > TX packets:20 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:0=20 > RX bytes:1136 (1.1 KB) TX bytes:1136 (1.1 KB) >=20 >=20 >=20 > On Thu, Aug 8, 2013 at 1:04 PM, David Ward = wrote: > What does ifconfig say? use eth0 or eth1's IP or whatever is static. = And on that note, setup a static IP ( versus dhcp based ) it will make = stopping/starting easier. >=20 >=20 > On Thu, Aug 8, 2013 at 2:01 PM, kohanm = wrote: > Thanks Rob. > Now I am getting listen_address in cassandra.yaml errors > I mentioned before the Cassandra runs on VM VitualBox on windows 7 = machine.=20 > On the ERROR text I changed the real ip address to "MymachineIP". > What should I put on the listen_address: in cassandra.yaml file? > Thanks. >=20 > short output: >=20 > INFO 12:55:45,372 Cassandra version: 1.2.8 > INFO 12:55:45,382 Thrift API version: 19.36.0 > INFO 12:55:45,382 CQL supported versions: 2.0.0,3.0.5 (default: = 3.0.5) > INFO 12:55:45,677 Loading persisted ring state > INFO 12:55:45,696 Starting up server gossip > INFO 12:55:45,861 Enqueuing flush of Memtable-local@28263177(251/251 = serialized/live bytes, 9 ops) > INFO 12:55:45,866 Writing Memtable-local@28263177(251/251 = serialized/live bytes, 9 ops) > INFO 12:55:45,961 Completed flushing = /var/lib/cassandra/data/system/local/system-local-ic-18-Data.db (240 = bytes) for commitlog position ReplayPosition(segmentId=3D1375991740291, = position=3D53949) > INFO 12:55:46,663 GC for Copy: 292 ms for 1 collections, 7605200 = used; max is 253558784 > ERROR 12:55:46,994 Fatal configuration error > org.apache.cassandra.exceptions.ConfigurationException: Unable to bind = to address /MymachineIP:7000. Set listen_address in cassandra.yaml to an = interface you can bind to, e.g., your private IP address on EC2 > at = org.apache.cassandra.net.MessagingService.getServerSocket(MessagingService= .java:444) > at = org.apache.cassandra.net.MessagingService.listen(MessagingService.java:390= ) > at = org.apache.cassandra.service.StorageService.joinTokenRing(StorageService.j= ava:589) > at = org.apache.cassandra.service.StorageService.initServer(StorageService.java= :554) > at = org.apache.cassandra.service.StorageService.initServer(StorageService.java= :451) > at = org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:34= 8) > at = org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java= :447) > at = org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:490= ) > Unable to bind to address /MymachineIP:7000. Set listen_address in = cassandra.yaml to an interface you can bind to, e.g., your private IP = address on EC2 > Fatal configuration error; unable to start server. See log for = stacktrace. > ERROR 12:55:47,059 Exception in thread = Thread[StorageServiceShutdownHook,5,main] > java.lang.NullPointerException > at = org.apache.cassandra.service.StorageService.stopRPCServer(StorageService.j= ava:321) > at = org.apache.cassandra.service.StorageService.shutdownClientServers(StorageS= ervice.java:370) > at = org.apache.cassandra.service.StorageService.access$000(StorageService.java= :88) > at = org.apache.cassandra.service.StorageService$1.runMayThrow(StorageService.j= ava:519) > at = org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28) > at java.lang.Thread.run(Thread.java:662) >=20 >=20 >=20 >=20 >=20 > --=20 > Massoud >=20 >=20 >=20 >=20 > --=20 > Massoud --Apple-Mail=_FE8A36B1-14B1-4DCA-BFB5-094B3F54D4E8 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=iso-8859-1 Are = you running more than one node ? 

Is so make = sure they have the same seed list, cluster name and can see each other = on port 7000. 

Cheers

-----------------
Aaron Morton
Cassandra = Consultant
New = Zealand

@aaronmorton

On 9/08/2013, at 10:08 AM, kohanm <kohan.massoud@gmail.com> = wrote:

Hi Dave

I added listen_address:10.0.2.15 to = the cassandra.yaml file and it worked.
But i got another error = please look at errors(short):
"ERROR 14:47:00,398 Exception = encountered during startup
java.lang.RuntimeException: No other nodes seen!  Unable to = bootstrap.If you intended to start a single-node cluster, you should = make sure your broadcast_address (or listen_address) is listed as a = seed.  Otherwise, you need to determine why the seed being = contacted has no knowledge of the rest of the cluster.  Usually, = this can be solved by giving all nodes the same seed list.
"


Here are on details:



INFO 14:46:20,654 = Logging initialized
 INFO 14:46:20,724 32bit JVM detected.  = It is recommended to run Cassandra on a 64bit JVM for better = performance.
 INFO 14:46:20,729 JVM vendor/version: Java = HotSpot(TM) Client VM/1.6.0_45
 INFO 14:46:20,760 Heap size: 253558784/253558784
 INFO = 14:46:20,761 Classpath: = bin/../conf:bin/../build/classes/main:bin/../build/classes/thrift:bin/../l= ib/antlr-3.2.jar:bin/../lib/apache-cassandra-1.2.8.jar:bin/../lib/apache-c= assandra-clientutil-1.2.8.jar:bin/../lib/apache-cassandra-thrift-1.2.8.jar= :bin/../lib/avro-1.4.0-fixes.jar:bin/../lib/avro-1.4.0-sources-fixes.jar:b= in/../lib/commons-cli-1.1.jar:bin/../lib/commons-codec-1.2.jar:bin/../lib/= commons-lang-2.6.jar:bin/../lib/compress-lzf-0.8.4.jar:bin/../lib/concurre= ntlinkedhashmap-lru-1.3.jar:bin/../lib/guava-13.0.1.jar:bin/../lib/high-sc= ale-lib-1.1.2.jar:bin/../lib/jackson-core-asl-1.9.2.jar:bin/../lib/jackson= -mapper-asl-1.9.2.jar:bin/../lib/jamm-0.2.5.jar:bin/../lib/jbcrypt-0.3m.ja= r:bin/../lib/jline-1.0.jar:bin/../lib/jna.jar:bin/../lib/json-simple-1.1.j= ar:bin/../lib/libthrift-0.7.0.jar:bin/../lib/log4j-1.2.16.jar:bin/../lib/l= z4-1.1.0.jar:bin/../lib/metrics-core-2.0.3.jar:bin/../lib/netty-3.5.9.Fina= l.jar:bin/../lib/servlet-api-2.5-20081211.jar:bin/../lib/slf4j-api-1.7.2.j= ar:bin/../lib/slf4j-log4j12-1.7.2.jar:bin/../lib/snakeyaml-1.6.jar:bin/../= lib/snappy-java-1.0.5.jar:bin/../lib/snaptree-0.1.jar:bin/../lib/jamm-0.2.= 5.jar
 WARN 14:46:21,038 Unable to lock JVM memory (ENOMEM). This can = result in part of the JVM being swapped out, especially with mmapped I/O = enabled. Increase RLIMIT_MEMLOCK or run Cassandra as root.
 INFO = 14:46:21,130 Loading settings from = file:/home/massoud/cassandra/apache-cassandra-1.2.8/conf/cassandra.yaml  INFO 14:46:22,323 Data files directories: = [/var/lib/cassandra/data]
 INFO 14:46:22,323 Commit log = directory: /var/lib/cassandra/commitlog
 INFO 14:46:22,325 = DiskAccessMode 'auto' determined to be standard, indexAccessMode is = standard
 INFO 14:46:22,325 disk_failure_policy is stop
 INFO = 14:46:22,390 Global memtable threshold is enabled at 80MB
 INFO = 14:46:23,149 Not using multi-threaded compaction
 INFO = 14:46:24,085 Initializing key cache with capacity of 12 MBs.
 INFO 14:46:24,139 Scheduling key cache save to each 14400 seconds = (going to save all keys).
 INFO 14:46:24,152 Initializing row = cache with capacity of 0 MBs and provider = org.apache.cassandra.cache.SerializingCacheProvider
 INFO 14:46:24,200 Scheduling row cache save to each 0 seconds = (going to save all keys).
 INFO 14:46:24,781 Opening = /var/lib/cassandra/data/system/schema_keyspaces/system-schema_keyspaces-ic= -3 (227 bytes)
 INFO 14:46:24,781 Opening = /var/lib/cassandra/data/system/schema_keyspaces/system-schema_keyspaces-ic= -3 (227 bytes)
 INFO 14:46:24,900 Opening = /var/lib/cassandra/data/system/schema_keyspaces/system-schema_keyspaces-ic= -2 (221 bytes)
 INFO 14:46:24,900 Opening = /var/lib/cassandra/data/system/schema_keyspaces/system-schema_keyspaces-ic= -2 (221 bytes)
 INFO 14:46:24,953 Opening = /var/lib/cassandra/data/system/schema_keyspaces/system-schema_keyspaces-ic= -7 (220 bytes)
 INFO 14:46:24,954 Opening = /var/lib/cassandra/data/system/schema_keyspaces/system-schema_keyspaces-ic= -7 (220 bytes)
 INFO 14:46:24,983 Opening = /var/lib/cassandra/data/system/schema_keyspaces/system-schema_keyspaces-ic= -4 (227 bytes)
 INFO 14:46:24,984 Opening = /var/lib/cassandra/data/system/schema_keyspaces/system-schema_keyspaces-ic= -4 (227 bytes)
 INFO 14:46:25,011 Opening = /var/lib/cassandra/data/system/schema_keyspaces/system-schema_keyspaces-ic= -6 (220 bytes)
 INFO 14:46:25,012 Opening = /var/lib/cassandra/data/system/schema_keyspaces/system-schema_keyspaces-ic= -6 (220 bytes)
 INFO 14:46:25,021 Opening = /var/lib/cassandra/data/system/schema_keyspaces/system-schema_keyspaces-ic= -1 (221 bytes)
 INFO 14:46:25,022 Opening = /var/lib/cassandra/data/system/schema_keyspaces/system-schema_keyspaces-ic= -1 (221 bytes)
 INFO 14:46:25,053 Opening = /var/lib/cassandra/data/system/schema_keyspaces/system-schema_keyspaces-ic= -5 (230 bytes)
 INFO 14:46:25,053 Opening = /var/lib/cassandra/data/system/schema_keyspaces/system-schema_keyspaces-ic= -5 (230 bytes)
 INFO 14:46:25,166 Opening = /var/lib/cassandra/data/system/schema_columnfamilies/system-schema_columnf= amilies-ic-5 (4596 bytes)
 INFO 14:46:25,168 Opening = /var/lib/cassandra/data/system/schema_columnfamilies/system-schema_columnf= amilies-ic-5 (4596 bytes)
 INFO 14:46:25,178 Opening = /var/lib/cassandra/data/system/schema_columnfamilies/system-schema_columnf= amilies-ic-7 (4593 bytes)
 INFO 14:46:25,178 Opening = /var/lib/cassandra/data/system/schema_columnfamilies/system-schema_columnf= amilies-ic-7 (4593 bytes)
 INFO 14:46:25,211 Opening = /var/lib/cassandra/data/system/schema_columnfamilies/system-schema_columnf= amilies-ic-3 (4597 bytes)
 INFO 14:46:25,212 Opening = /var/lib/cassandra/data/system/schema_columnfamilies/system-schema_columnf= amilies-ic-3 (4597 bytes)
 INFO 14:46:25,225 Opening = /var/lib/cassandra/data/system/schema_columnfamilies/system-schema_columnf= amilies-ic-4 (4589 bytes)
 INFO 14:46:25,225 Opening = /var/lib/cassandra/data/system/schema_columnfamilies/system-schema_columnf= amilies-ic-4 (4589 bytes)
 INFO 14:46:25,236 Opening = /var/lib/cassandra/data/system/schema_columnfamilies/system-schema_columnf= amilies-ic-1 (4597 bytes)
 INFO 14:46:25,237 Opening = /var/lib/cassandra/data/system/schema_columnfamilies/system-schema_columnf= amilies-ic-1 (4597 bytes)
 INFO 14:46:25,256 Opening = /var/lib/cassandra/data/system/schema_columnfamilies/system-schema_columnf= amilies-ic-6 (4593 bytes)
 INFO 14:46:25,257 Opening = /var/lib/cassandra/data/system/schema_columnfamilies/system-schema_columnf= amilies-ic-6 (4593 bytes)
 INFO 14:46:25,272 Opening = /var/lib/cassandra/data/system/schema_columnfamilies/system-schema_columnf= amilies-ic-2 (4596 bytes)
 INFO 14:46:25,272 Opening = /var/lib/cassandra/data/system/schema_columnfamilies/system-schema_columnf= amilies-ic-2 (4596 bytes)
 INFO 14:46:25,381 Opening = /var/lib/cassandra/data/system/schema_columns/system-schema_columns-ic-2 = (4308 bytes)
 INFO 14:46:25,381 Opening = /var/lib/cassandra/data/system/schema_columns/system-schema_columns-ic-2 = (4308 bytes)
 INFO 14:46:25,391 Opening = /var/lib/cassandra/data/system/schema_columns/system-schema_columns-ic-6 = (4307 bytes)
 INFO 14:46:25,392 Opening = /var/lib/cassandra/data/system/schema_columns/system-schema_columns-ic-6 = (4307 bytes)
 INFO 14:46:25,413 Opening = /var/lib/cassandra/data/system/schema_columns/system-schema_columns-ic-7 = (4309 bytes)
 INFO 14:46:25,414 Opening = /var/lib/cassandra/data/system/schema_columns/system-schema_columns-ic-7 = (4309 bytes)
 INFO 14:46:25,440 Opening = /var/lib/cassandra/data/system/schema_columns/system-schema_columns-ic-4 = (4308 bytes)
 INFO 14:46:25,441 Opening = /var/lib/cassandra/data/system/schema_columns/system-schema_columns-ic-4 = (4308 bytes)
 INFO 14:46:25,450 Opening = /var/lib/cassandra/data/system/schema_columns/system-schema_columns-ic-3 = (4310 bytes)
 INFO 14:46:25,450 Opening = /var/lib/cassandra/data/system/schema_columns/system-schema_columns-ic-3 = (4310 bytes)
 INFO 14:46:25,460 Opening = /var/lib/cassandra/data/system/schema_columns/system-schema_columns-ic-5 = (4310 bytes)
 INFO 14:46:25,462 Opening = /var/lib/cassandra/data/system/schema_columns/system-schema_columns-ic-5 = (4310 bytes)
 INFO 14:46:25,488 Opening = /var/lib/cassandra/data/system/schema_columns/system-schema_columns-ic-1 = (4309 bytes)
 INFO 14:46:25,488 Opening = /var/lib/cassandra/data/system/schema_columns/system-schema_columns-ic-1 = (4309 bytes)
 INFO 14:46:25,577 Opening = /var/lib/cassandra/data/system/local/system-local-ic-16 (356 = bytes)
 INFO 14:46:25,577 Opening = /var/lib/cassandra/data/system/local/system-local-ic-16 (356 = bytes)
 INFO 14:46:25,601 Opening = /var/lib/cassandra/data/system/local/system-local-ic-17 (84 bytes)
 INFO 14:46:25,601 Opening = /var/lib/cassandra/data/system/local/system-local-ic-17 (84 = bytes)
 INFO 14:46:25,644 Opening = /var/lib/cassandra/data/system/local/system-local-ic-18 (240 = bytes)
 INFO 14:46:25,644 Opening = /var/lib/cassandra/data/system/local/system-local-ic-18 (240 bytes)
 INFO 14:46:27,165 completed pre-loading (3 keys) key = cache.
 INFO 14:46:27,192 Replaying = /var/lib/cassandra/commitlog/CommitLog-2-1375991740291.log, = /var/lib/cassandra/commitlog/CommitLog-2-1375991740292.log
 INFO = 14:46:27,264 Replaying = /var/lib/cassandra/commitlog/CommitLog-2-1375991740291.log
 INFO 14:46:27,532 Finished reading = /var/lib/cassandra/commitlog/CommitLog-2-1375991740291.log
 INFO = 14:46:27,533 Replaying = /var/lib/cassandra/commitlog/CommitLog-2-1375991740292.log
 INFO = 14:46:27,559 Finished reading = /var/lib/cassandra/commitlog/CommitLog-2-1375991740292.log
 INFO 14:46:27,654 Enqueuing flush of Memtable-local@24263807(52/52 = serialized/live bytes, 4 ops)
 INFO 14:46:27,659 Writing = Memtable-local@24263807(52/52 serialized/live bytes, 4 = ops)
 INFO 14:46:27,667 Enqueuing flush of = Memtable-schema_keyspaces@21846043(251/251 serialized/live bytes, 8 = ops)
 INFO 14:46:27,668 Enqueuing flush of = Memtable-schema_columns@13856755(24717/24717 serialized/live bytes, 398 = ops)
 INFO 14:46:27,692 Enqueuing flush of = Memtable-schema_columnfamilies@19546474(22187/22187 serialized/live = bytes, 369 ops)
 INFO 14:46:27,803 Completed flushing = /var/lib/cassandra/data/system/local/system-local-ic-19-Data.db (84 = bytes) for commitlog position ReplayPosition(segmentId=3D1375998386936, = position=3D142)
 INFO 14:46:27,976 Writing = Memtable-schema_keyspaces@21846043(251/251 serialized/live bytes, 8 = ops)
 INFO 14:46:28,075 Completed flushing = /var/lib/cassandra/data/system/schema_keyspaces/system-schema_keyspaces-ic= -8-Data.db (223 bytes) for commitlog position = ReplayPosition(segmentId=3D1375998386936, position=3D142)
 INFO = 14:46:28,077 Writing Memtable-schema_columns@13856755(24717/24717 = serialized/live bytes, 398 ops)
 INFO 14:46:28,188 Completed flushing = /var/lib/cassandra/data/system/schema_columns/system-schema_columns-ic-8-D= ata.db (4310 bytes) for commitlog position = ReplayPosition(segmentId=3D1375998386936, position=3D142)
 INFO = 14:46:28,195 Writing Memtable-schema_columnfamilies@19546474(22187/22187 = serialized/live bytes, 369 ops)
 INFO 14:46:28,307 Completed flushing = /var/lib/cassandra/data/system/schema_columnfamilies/system-schema_columnf= amilies-ic-8-Data.db (4595 bytes) for commitlog position = ReplayPosition(segmentId=3D1375998386936, position=3D142)
 INFO 14:46:28,311 Log replay complete, 13 replayed = mutations
 INFO 14:46:28,892 Cassandra version: = 1.2.8
 INFO 14:46:28,893 Thrift API version: = 19.36.0
 INFO 14:46:28,893 CQL supported versions: 2.0.0,3.0.5 = (default: 3.0.5)
 INFO 14:46:29,012 Loading persisted ring state
 INFO = 14:46:29,019 Starting up server gossip
 INFO 14:46:29,078 = Enqueuing flush of Memtable-local@14651541(251/251 serialized/live = bytes, 9 ops)
 INFO 14:46:29,080 Writing = Memtable-local@14651541(251/251 serialized/live bytes, 9 ops)
 INFO 14:46:29,184 Completed flushing = /var/lib/cassandra/data/system/local/system-local-ic-20-Data.db (239 = bytes) for commitlog position ReplayPosition(segmentId=3D1375998386936, = position=3D53949)
 INFO 14:46:29,255 Compacting = [SSTableReader(path=3D'/var/lib/cassandra/data/system/local/system-local-i= c-17-Data.db'), = SSTableReader(path=3D'/var/lib/cassandra/data/system/local/system-local-ic= -18-Data.db'), = SSTableReader(path=3D'/var/lib/cassandra/data/system/local/system-local-ic= -16-Data.db'), = SSTableReader(path=3D'/var/lib/cassandra/data/system/local/system-local-ic= -20-Data.db'), = SSTableReader(path=3D'/var/lib/cassandra/data/system/local/system-local-ic= -19-Data.db')]
 INFO 14:46:29,843 Compacted 5 sstables to = [/var/lib/cassandra/data/system/local/system-local-ic-21,].  1,003 = bytes to 358 (~35% of original) in 482ms =3D 0.000708MB/s.  5 total = rows, 1 unique.  Row merge counts were {1:0, 2:0, 3:0, 4:0, 5:1, = }
 INFO 14:46:29,935 Starting Messaging Service on port = 7000
 INFO 14:46:30,223 Enqueuing flush of = Memtable-local@2861196(86/86 serialized/live bytes, 4 ops)
 INFO = 14:46:30,225 Writing Memtable-local@2861196(86/86 serialized/live bytes, = 4 ops)
 INFO 14:46:30,346 Completed flushing = /var/lib/cassandra/data/system/local/system-local-ic-22-Data.db (122 = bytes) for commitlog position ReplayPosition(segmentId=3D1375998386936, = position=3D54226)
 INFO 14:46:30,351 JOINING: waiting for ring = information
 INFO 14:47:00,375 JOINING: schema complete, ready to = bootstrap
 INFO 14:47:00,388 JOINING: getting bootstrap = token
ERROR 14:47:00,398 Exception encountered during = startup
java.lang.RuntimeException: No other nodes seen!  Unable = to bootstrap.If you intended to start a single-node cluster, you should = make sure your broadcast_address (or listen_address) is listed as a = seed.  Otherwise, you need to determine why the seed being = contacted has no knowledge of the rest of the cluster.  Usually, = this can be solved by giving all nodes the same seed list.
    at = org.apache.cassandra.dht.BootStrapper.getBootstrapSource(BootStrapper.java= :154)
    at = org.apache.cassandra.dht.BootStrapper.getBalancedToken(BootStrapper.java:1= 35)
    at = org.apache.cassandra.dht.BootStrapper.getBootstrapTokens(BootStrapper.java= :115)
    at = org.apache.cassandra.service.StorageService.joinTokenRing(StorageService.j= ava:666)
    at = org.apache.cassandra.service.StorageService.initServer(StorageService.java= :554)
    at = org.apache.cassandra.service.StorageService.initServer(StorageService.java= :451)
    at = org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:34= 8)
    at = org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java= :447)
    at = org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:490= )
java.lang.RuntimeException: No other nodes seen!  Unable to = bootstrap.If you intended to start a single-node cluster, you should = make sure your broadcast_address (or listen_address) is listed as a = seed.  Otherwise, you need to determine why the seed being = contacted has no knowledge of the rest of the cluster.  Usually, = this can be solved by giving all nodes the same seed list.
    at = org.apache.cassandra.dht.BootStrapper.getBootstrapSource(BootStrapper.java= :154)
    at = org.apache.cassandra.dht.BootStrapper.getBalancedToken(BootStrapper.java:1= 35)
    at = org.apache.cassandra.dht.BootStrapper.getBootstrapTokens(BootStrapper.java= :115)
    at = org.apache.cassandra.service.StorageService.joinTokenRing(StorageService.j= ava:666)
    at = org.apache.cassandra.service.StorageService.initServer(StorageService.java= :554)
    at = org.apache.cassandra.service.StorageService.initServer(StorageService.java= :451)
    at = org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:34= 8)
    at = org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java= :447)
    at = org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:490= )
Exception encountered during startup: No other nodes seen!  Unable = to bootstrap.If you intended to start a single-node cluster, you should = make sure your broadcast_address (or listen_address) is listed as a = seed.  Otherwise, you need to determine why the seed being = contacted has no knowledge of the rest of the cluster.  Usually, = this can be solved by giving all nodes the same seed list.
ERROR 14:47:00,425 Exception in thread = Thread[StorageServiceShutdownHook,5,main]
java.lang.NullPointerExceptio= n
    at = org.apache.cassandra.service.StorageService.stopRPCServer(StorageService.j= ava:321)
    at = org.apache.cassandra.service.StorageService.shutdownClientServers(StorageS= ervice.java:370)
    at = org.apache.cassandra.service.StorageService.access$000(StorageService.java= :88)
    at = org.apache.cassandra.service.StorageService$1.runMayThrow(StorageService.j= ava:519)
    at = org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28)     at = java.lang.Thread.run(Thread.java:662)
massoud@massoud-VirtualBox:~/cass= andra/apache-cassandra-1.2.8$


On = Thu, Aug 8, 2013 at 2:47 PM, David Ward <david@shareablee.com> wrote:
It maybe easier to = manage virtualbox using vagrant ( http://www.vagrantup.com/ ).  

I am going to assume eth0 from your ifconfig output is a = dhcp/dynamic IP address thats going to change every time you halt/start = your virtualbox instance.

Virtualbox is far outside the scope of C* so I'd = recommend checking out the manual on Virtualbox networking http://www.virtualbox.org/manual/ch06.html plus= using a dynamic IP for c* will probably yield undesirable = results.





On Thu, Aug 8, 2013 at 2:51 PM, kohanm <kohan.massoud@gmail.com> wrote:
Hi Dave
Can you = tell me more specific.
 Thanks,
Here are = ifconfig:

  ifconfig
eth0      = Link encap:Ethernet  HWaddr 08:00:27:00:32:0c 
          inet = addr:10.0.2.15  Bcast:10.0.2.255  Mask:255.255.255.0
          inet6 addr: = fe80::a00:27ff:fe00:320c/64 = Scope:Link
          UP = BROADCAST RUNNING MULTICAST  MTU:1500  = Metric:1
          RX = packets:6564 errors:0 dropped:0 overruns:0 = frame:0
          TX = packets:5588 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 = txqueuelen:1000 =
          RX = bytes:5649530 (5.6 MB)  TX bytes:1069524 (1.0 = MB)

lo        Link encap:Local = Loopback  =
          inet = addr:127.0.0.1  = Mask:255.0.0.0
          = inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK = RUNNING  MTU:16436  = Metric:1
          RX = packets:20 errors:0 dropped:0 overruns:0 = frame:0
          TX = packets:20 errors:0 dropped:0 overruns:0 = carrier:0
          = collisions:0 txqueuelen:0
          RX bytes:1136 = (1.1 KB)  TX bytes:1136 (1.1 KB)



On Thu, Aug 8, 2013 at 1:04 PM, David Ward <david@shareablee.com> wrote:
What does ifconfig = say? use eth0 or eth1's IP or whatever is static.  And on that = note, setup a static IP ( versus dhcp based ) it will make = stopping/starting easier.


On Thu, Aug 8, 2013 at 2:01 PM, = kohanm <kohan.massoud@gmail.com> wrote:
Thanks Rob.
Now I = am getting  listen_address in cassandra.yaml errors
I mentioned = before the Cassandra runs on VM VitualBox on windows 7 machine.
On the ERROR text I changed the real ip address to  = "MymachineIP".
What should I put on the listen_address:  in = cassandra.yaml file?
Thanks.

 short = output:

INFO 12:55:45,372 Cassandra version: 1.2.8
 INFO = 12:55:45,382 Thrift API version: 19.36.0
 INFO 12:55:45,382 CQL = supported versions: 2.0.0,3.0.5 (default: 3.0.5)
 INFO 12:55:45,677 Loading persisted ring state
 INFO = 12:55:45,696 Starting up server gossip
 INFO 12:55:45,861 = Enqueuing flush of Memtable-local@28263177(251/251 serialized/live = bytes, 9 ops)
 INFO 12:55:45,866 Writing = Memtable-local@28263177(251/251 serialized/live bytes, 9 ops)
 INFO 12:55:45,961 Completed flushing = /var/lib/cassandra/data/system/local/system-local-ic-18-Data.db (240 = bytes) for commitlog position ReplayPosition(segmentId=3D1375991740291, = position=3D53949)
 INFO 12:55:46,663 GC for Copy: 292 ms for 1 = collections, 7605200 used; max is 253558784
ERROR 12:55:46,994 Fatal configuration = error
org.apache.cassandra.exceptions.ConfigurationException: Unable = to bind to address /MymachineIP:7000. Set listen_address in = cassandra.yaml to an interface you can bind to, e.g., your private IP = address on EC2
    at = org.apache.cassandra.net.MessagingService.getServerSocket(MessagingService= .java:444)
    at = org.apache.cassandra.net.MessagingService.listen(MessagingService.java:390= )
    at = org.apache.cassandra.service.StorageService.joinTokenRing(StorageService.j= ava:589)
    at = org.apache.cassandra.service.StorageService.initServer(StorageService.java= :554)
    at = org.apache.cassandra.service.StorageService.initServer(StorageService.java= :451)
    at = org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:34= 8)
    at = org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java= :447)
    at = org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:490= )
Unable to bind to address /MymachineIP:7000. Set listen_address in = cassandra.yaml to an interface you can bind to, e.g., your private IP = address on EC2
Fatal configuration error; unable to start server.  See log for = stacktrace.
ERROR 12:55:47,059 Exception in thread = Thread[StorageServiceShutdownHook,5,main]
java.lang.NullPointerExceptio= n
    at = org.apache.cassandra.service.StorageService.stopRPCServer(StorageService.j= ava:321)
    at = org.apache.cassandra.service.StorageService.shutdownClientServers(StorageS= ervice.java:370)
    at = org.apache.cassandra.service.StorageService.access$000(StorageService.java= :88)
    at = org.apache.cassandra.service.StorageService$1.runMayThrow(StorageService.j= ava:519)
    at = org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28)    at java.lang.Thread.run(Thread.java:662)





--
Massoud




--
Massoud

= --Apple-Mail=_FE8A36B1-14B1-4DCA-BFB5-094B3F54D4E8--