incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Morton <aa...@thelastpickle.com>
Subject Re: JmxReporter.java (line 388) Error processing
Date Mon, 12 Aug 2013 21:07:07 GMT
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
http://www.thelastpickle.com

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/../lib/antlr-3.2.jar:bin/../lib/apache-cassandra-1.2.8.jar:bin/../lib/apache-cassandra-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:bin/../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/concurrentlinkedhashmap-lru-1.3.jar:bin/../lib/guava-13.0.1.jar:bin/../lib/high-scale-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.jar:bin/../lib/jline-1.0.jar:bin/../lib/jna.jar:bin/../lib/json-simple-1.1.jar:bin/../lib/libthrift-0.7.0.jar:bin/../lib/log4j-1.2.16.jar:bin/../lib/lz4-1.1.0.jar:bin/../lib/metrics-core-2.0.3.jar:bin/../lib/netty-3.5.9.Final.jar:bin/../lib/servlet-api-2.5-20081211.jar:bin/../lib/slf4j-api-1.7.2.jar: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_columnfamilies-ic-5
(4596 bytes)
>  INFO 14:46:25,168 Opening /var/lib/cassandra/data/system/schema_columnfamilies/system-schema_columnfamilies-ic-5
(4596 bytes)
>  INFO 14:46:25,178 Opening /var/lib/cassandra/data/system/schema_columnfamilies/system-schema_columnfamilies-ic-7
(4593 bytes)
>  INFO 14:46:25,178 Opening /var/lib/cassandra/data/system/schema_columnfamilies/system-schema_columnfamilies-ic-7
(4593 bytes)
>  INFO 14:46:25,211 Opening /var/lib/cassandra/data/system/schema_columnfamilies/system-schema_columnfamilies-ic-3
(4597 bytes)
>  INFO 14:46:25,212 Opening /var/lib/cassandra/data/system/schema_columnfamilies/system-schema_columnfamilies-ic-3
(4597 bytes)
>  INFO 14:46:25,225 Opening /var/lib/cassandra/data/system/schema_columnfamilies/system-schema_columnfamilies-ic-4
(4589 bytes)
>  INFO 14:46:25,225 Opening /var/lib/cassandra/data/system/schema_columnfamilies/system-schema_columnfamilies-ic-4
(4589 bytes)
>  INFO 14:46:25,236 Opening /var/lib/cassandra/data/system/schema_columnfamilies/system-schema_columnfamilies-ic-1
(4597 bytes)
>  INFO 14:46:25,237 Opening /var/lib/cassandra/data/system/schema_columnfamilies/system-schema_columnfamilies-ic-1
(4597 bytes)
>  INFO 14:46:25,256 Opening /var/lib/cassandra/data/system/schema_columnfamilies/system-schema_columnfamilies-ic-6
(4593 bytes)
>  INFO 14:46:25,257 Opening /var/lib/cassandra/data/system/schema_columnfamilies/system-schema_columnfamilies-ic-6
(4593 bytes)
>  INFO 14:46:25,272 Opening /var/lib/cassandra/data/system/schema_columnfamilies/system-schema_columnfamilies-ic-2
(4596 bytes)
>  INFO 14:46:25,272 Opening /var/lib/cassandra/data/system/schema_columnfamilies/system-schema_columnfamilies-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=1375998386936, position=142)
>  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=1375998386936, position=142)
>  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-Data.db
(4310 bytes) for commitlog position ReplayPosition(segmentId=1375998386936, position=142)
>  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_columnfamilies-ic-8-Data.db
(4595 bytes) for commitlog position ReplayPosition(segmentId=1375998386936, position=142)
>  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=1375998386936, position=53949)
>  INFO 14:46:29,255 Compacting [SSTableReader(path='/var/lib/cassandra/data/system/local/system-local-ic-17-Data.db'),
SSTableReader(path='/var/lib/cassandra/data/system/local/system-local-ic-18-Data.db'), SSTableReader(path='/var/lib/cassandra/data/system/local/system-local-ic-16-Data.db'),
SSTableReader(path='/var/lib/cassandra/data/system/local/system-local-ic-20-Data.db'), SSTableReader(path='/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 = 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=1375998386936, position=54226)
>  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:135)
>     at org.apache.cassandra.dht.BootStrapper.getBootstrapTokens(BootStrapper.java:115)
>     at org.apache.cassandra.service.StorageService.joinTokenRing(StorageService.java: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:348)
>     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:135)
>     at org.apache.cassandra.dht.BootStrapper.getBootstrapTokens(BootStrapper.java:115)
>     at org.apache.cassandra.service.StorageService.joinTokenRing(StorageService.java: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:348)
>     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.java:321)
>     at org.apache.cassandra.service.StorageService.shutdownClientServers(StorageService.java:370)
>     at org.apache.cassandra.service.StorageService.access$000(StorageService.java:88)
>     at org.apache.cassandra.service.StorageService$1.runMayThrow(StorageService.java: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$ 
> 
> 
> 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=1375991740291, position=53949)
>  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.java: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:348)
>     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.java:321)
>     at org.apache.cassandra.service.StorageService.shutdownClientServers(StorageService.java:370)
>     at org.apache.cassandra.service.StorageService.access$000(StorageService.java:88)
>     at org.apache.cassandra.service.StorageService$1.runMayThrow(StorageService.java:519)
>     at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28)
>     at java.lang.Thread.run(Thread.java:662)
> 
> 
> 
> 
> 
> -- 
> Massoud
> 
> 
> 
> 
> -- 
> Massoud


Mime
View raw message