[jira] [Comment Edited] (CASSANDRA-8306) exception in nodetool enablebinary

2014-11-16 Thread JIRA

[ 
https://issues.apache.org/jira/browse/CASSANDRA-8306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14214368#comment-14214368
 ] 

Rafał Furmański edited comment on CASSANDRA-8306 at 11/17/14 7:28 AM:
--

start_native_transport is set to true.

The whole process of adding new node looks as follows:
1. Install cassandra 2.1.1 (from datastax debian repo)
2. stop cassandra
3. rm -rf /var/lib/cassandra/*
4. Modify cassandra.yaml and cassandra-rackdc.properties
5. Start cassandra

After struggling for a couple of days and several restarts of stubborn node, it 
finally managed to join the cluster. I don't know why though. I didn't do 
anything specific. Binary protocol is up and running now. That's just weird!


was (Author: rfurmanski):
start_native_transport is set to true.

The whole joining process looks as follows:
1. Install cassandra 2.1.1 (from datastax debian repo)
2. stop cassandra
3. rm -rf /var/lib/cassandra/*
4. Modify cassandra.yaml and cassandra-rackdc.properties
5. Start cassandra

After struggling for a couple of days and several restarts of stubborn node, it 
finally managed to join the cluster. I don't know why though. I didn't do 
anything specific. Binary protocol is up and running now. That's just weird!

 exception in nodetool enablebinary
 --

 Key: CASSANDRA-8306
 URL: https://issues.apache.org/jira/browse/CASSANDRA-8306
 Project: Cassandra
  Issue Type: Bug
Reporter: Rafał Furmański
 Attachments: system.log.zip


 I was trying to add new node (db4) to existing cluster - with no luck. I 
 can't see any errors in system.log. nodetool status shows, that node is 
 joining into cluster (for many hours). Attaching error and cluster info:
 {code}
 root@db4:~# nodetool enablebinary
 error: Error starting native transport: null
 -- StackTrace --
 java.lang.RuntimeException: Error starting native transport: null
   at 
 org.apache.cassandra.service.StorageService.startNativeTransport(StorageService.java:350)
   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.GeneratedMethodAccessor2.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.invoke(PerInterface.java:138)
   at com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:252)
   at 
 com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
   at 
 com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
   at 
 javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1487)
   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.invoke(RMIConnectionImpl.java:848)
   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.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 
 

[jira] [Comment Edited] (CASSANDRA-8306) exception in nodetool enablebinary

2014-11-13 Thread JIRA

[ 
https://issues.apache.org/jira/browse/CASSANDRA-8306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14211983#comment-14211983
 ] 

Rafał Furmański edited comment on CASSANDRA-8306 at 11/14/14 7:59 AM:
--

[~mshuler] No, I don't have any errors related to Gossip in system.log. I 
successfully added one node to the cluster after resolving CASSANDRA-8296, so 
I'm pretty sure that this is not related.


was (Author: rfurmanski):
[~mshuler] No, I don't have any errors related to Gossip in system.log. I 
successfully added one node to the cluster after resolving CASSANDRA-8292, so 
I'm pretty sure that this is not related.

 exception in nodetool enablebinary
 --

 Key: CASSANDRA-8306
 URL: https://issues.apache.org/jira/browse/CASSANDRA-8306
 Project: Cassandra
  Issue Type: Bug
Reporter: Rafał Furmański

 I was trying to add new node (db4) to existing cluster - with no luck. I 
 can't see any errors in system.log. nodetool status shows, that node is 
 joining into cluster (for many hours). Attaching error and cluster info:
 {code}
 root@db4:~# nodetool enablebinary
 error: Error starting native transport: null
 -- StackTrace --
 java.lang.RuntimeException: Error starting native transport: null
   at 
 org.apache.cassandra.service.StorageService.startNativeTransport(StorageService.java:350)
   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.GeneratedMethodAccessor2.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.invoke(PerInterface.java:138)
   at com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:252)
   at 
 com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
   at 
 com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
   at 
 javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1487)
   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.invoke(RMIConnectionImpl.java:848)
   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.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:745)
 {code}
 {code}
 root@db4:~# nodetool describecluster
 Cluster Information:
   Name: Production Cluster
   Snitch: org.apache.cassandra.locator.DynamicEndpointSnitch
   Partitioner: org.apache.cassandra.dht.Murmur3Partitioner
   Schema versions:
   b7e98bb9-717f-3f59-bac4-84bc19544e90: [10.195.15.163, 
 10.195.15.162, 10.195.15.167, 10.195.15.166]
 {code}
 {code}
 root@db4:~# nodetool status
 Datacenter: Ashburn
 ===