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

Pas commented on CASSANDRA-6560:
--------------------------------

Same node, after upgradesstables on all others.

{code}
 INFO 12:07:45,023 Cassandra version: 1.2.13
 INFO 12:07:45,024 Thrift API version: 19.36.2
 INFO 12:07:45,024 CQL supported versions: 2.0.0,3.0.5 (default: 3.0.5)
 INFO 12:07:45,032 Loading persisted ring state
 INFO 12:07:45,046 Starting up server gossip
 INFO 12:07:45,047 Enqueuing flush of Memtable-local@1765099525(297/2970 
serialized/live bytes, 11 ops)
 INFO 12:07:45,047 Writing Memtable-local@1765099525(297/2970 serialized/live 
bytes, 11 ops)
 INFO 12:07:45,219 Completed flushing 
/var/lib/cassandra/data/system/local/system-local-ic-6-Data.db (288 bytes) for 
commitlog position ReplayPosition(
segmentId=1389524844471, position=52894)
 INFO 12:07:45,266 Starting Messaging Service on port 7001
 WARN 12:07:45,286 Detected previous bootstrap failure; retrying
 INFO 12:07:45,287 JOINING: waiting for ring information
 INFO 12:07:45,287 JOINING: schema complete, ready to bootstrap
 INFO 12:07:45,287 JOINING: waiting for pending range calculation
 INFO 12:07:45,288 JOINING: calculation complete, ready to bootstrap
 INFO 12:07:45,290 JOINING: getting bootstrap token
java.lang.RuntimeException: No other nodes seen!  Unable to bootstrap.If you 
intended to start a single-node cluster, you should make sure your broadca
st_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:709)
        at 
org.apache.cassandra.service.StorageService.initServer(StorageService.java:586)
        at 
org.apache.cassandra.service.StorageService.initServer(StorageService.java:483)
        at 
org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:348)
        at 
org.apache.cassandra.service.CassandraDaemon.init(CassandraDaemon.java:381)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at 
org.apache.commons.daemon.support.DaemonLoader.load(DaemonLoader.java:212)
Cannot load daemon
Service exit with a return value of 3  
{code}

It has two seeds, and I can confirm that those are up and running.

> nodetool info fails an assert and crashes AssertionError
> --------------------------------------------------------
>
>                 Key: CASSANDRA-6560
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6560
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Pas
>
> I had a 1.1.x cluster, upgraded almost all of them to 1.2.x. The cluster uses 
> ByteOrderedPartitioner.
> This is a 1.2.13 node, I want it to replace an other node, so initial_token 
> is set to <othernode - 1>, and after it has done bootstrapping (at least it 
> did a lot of streaming sessions and now has a few gigabytes of data, but less 
> than the one it should replace has), it fails to run `nodetool info`. (ring 
> and status works fine though)
> gossipinfo shows the node as BOOTing, others see it too, schemas agree.
> {code}
> root@cass21:/var/log/cassandra# nodetool info
> Exception in thread "main" java.lang.AssertionError
>         at 
> org.apache.cassandra.locator.TokenMetadata.getTokens(TokenMetadata.java:502)
>         at 
> org.apache.cassandra.service.StorageService.getTokens(StorageService.java:2043)
>         at 
> org.apache.cassandra.service.StorageService.getTokens(StorageService.java:2032)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:606)
>         at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:75)
>         at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:606)
>         at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:279)
>         at 
> com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:112)
>         at 
> com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:46)
>         at 
> com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:237)
>         at 
> com.sun.jmx.mbeanserver.PerInterface.getAttribute(PerInterface.java:83)
>         at 
> com.sun.jmx.mbeanserver.MBeanSupport.getAttribute(MBeanSupport.java:206)
>         at 
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(DefaultMBeanServerInterceptor.java:647)
>         at 
> com.sun.jmx.mbeanserver.JmxMBeanServer.getAttribute(JmxMBeanServer.java:678)
>         at 
> javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1464)
>         at 
> javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:97)
>         at 
> javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1328)
>         at 
> javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1420)
>         at 
> javax.management.remote.rmi.RMIConnectionImpl.getAttribute(RMIConnectionImpl.java:657)
>         at sun.reflect.GeneratedMethodAccessor17.invoke(Unknown Source)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:606)
>         at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322)
>         at sun.rmi.transport.Transport$1.run(Transport.java:177)
>         at sun.rmi.transport.Transport$1.run(Transport.java:174)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at sun.rmi.transport.Transport.serviceCall(Transport.java:173)
>         at 
> sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:556)
>         at 
> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:811)
>         at 
> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:670)
>         at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>         at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>         at java.lang.Thread.run(Thread.java:744)
> {code}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to