[ https://issues.apache.org/jira/browse/CASSANDRA-16473?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brandon Williams updated CASSANDRA-16473: ----------------------------------------- Fix Version/s: (was: 4.0-rc) 4.0-beta 4.0-beta5 Since Version: 4.0-alpha1 Source Control Link: https://github.com/apache/cassandra/commit/2d9d17894dab365df09f515e37b62b658bce6594 Resolution: Fixed Status: Resolved (was: Ready to Commit) I suspected this would be the case, thanks! Committed. > cassandra-stress failed to connect over JMX > ------------------------------------------- > > Key: CASSANDRA-16473 > URL: https://issues.apache.org/jira/browse/CASSANDRA-16473 > Project: Cassandra > Issue Type: Bug > Components: Tool/stress > Reporter: wang > Assignee: Berenguer Blasi > Priority: Normal > Fix For: 4.0-beta5, 4.0-beta > > Time Spent: 20m > Remaining Estimate: 0h > > cassandra version: 4.0-beta4 > When I run command: > cassandra-stress write n = 100 -rate threads = 1 -node 127.0.0.1 -log > level=verbose > I get the following exception: > {code:java} > Connected to cluster: Test Cluster, max pending requests per connection 128, > max connections per host 8 > Datacenter: datacenter1; Host: /127.0.0.1:9042; Rack: rack1 > Created keyspaces. Sleeping 1s for propagation. > Sleeping 2s... > Warming up WRITE with 25 iterations... > java.lang.RuntimeException: java.io.IOException: Failed to retrieve RMIServer > stub: javax.naming.ConfigurationException [Root exception is > java.rmi.UnknownHostException: Unknown host: 127.0.0.1:9042; nested exception > is: > java.net.UnknownHostException: 127.0.0.1:9042] > at > org.apache.cassandra.stress.util.JmxCollector.connect(JmxCollector.java:99) > at > org.apache.cassandra.stress.util.JmxCollector.<init>(JmxCollector.java:85) > at > org.apache.cassandra.stress.report.StressMetrics.<init>(StressMetrics.java:108) > at org.apache.cassandra.stress.StressAction.run(StressAction.java:228) > at > org.apache.cassandra.stress.StressAction.warmup(StressAction.java:124) > at org.apache.cassandra.stress.StressAction.run(StressAction.java:69) > at org.apache.cassandra.stress.Stress.run(Stress.java:155) > at org.apache.cassandra.stress.Stress.main(Stress.java:63) > Caused by: java.io.IOException: Failed to retrieve RMIServer stub: > javax.naming.ConfigurationException [Root exception is > java.rmi.UnknownHostException: Unknown host: 127.0.0.1:9042; nested exception > is: > java.net.UnknownHostException: 127.0.0.1:9042] > at > javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:369) > at > javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:270) > at org.apache.cassandra.tools.NodeProbe.connect(NodeProbe.java:214) > at org.apache.cassandra.tools.NodeProbe.<init>(NodeProbe.java:172) > at > org.apache.cassandra.stress.util.JmxCollector.connect(JmxCollector.java:95) > ... 7 more > Caused by: javax.naming.ConfigurationException [Root exception is > java.rmi.UnknownHostException: Unknown host: 127.0.0.1:9042; nested exception > is: > java.net.UnknownHostException: 127.0.0.1:9042] > at > com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:136) > at > com.sun.jndi.toolkit.url.GenericURLContext.lookup(GenericURLContext.java:205) > at javax.naming.InitialContext.lookup(InitialContext.java:417) > at > javax.management.remote.rmi.RMIConnector.findRMIServerJNDI(RMIConnector.java:1955) > at > javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.java:1922) > at > javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:287) > ... 11 more > Caused by: java.rmi.UnknownHostException: Unknown host: 127.0.0.1:9042; > nested exception is: > java.net.UnknownHostException: 127.0.0.1:9042 > at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:620) > at > sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:216) > at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:202) > at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:342) > at sun.rmi.registry.RegistryImpl_Stub.lookup(RegistryImpl_Stub.java:116) > at > com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:132) > ... 16 more > Caused by: java.net.UnknownHostException: 127.0.0.1:9042 > at > java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:196) > at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) > at java.net.Socket.connect(Socket.java:606) > at java.net.Socket.connect(Socket.java:555) > at java.net.Socket.<init>(Socket.java:451) > at java.net.Socket.<init>(Socket.java:228) > at > sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:40) > at > sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:148) > at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:617) > ... 21 more > Failed to connect over JMX; not collecting these stats > Running WRITE with 1 threads for 100 iteration > java.lang.RuntimeException: java.io.IOException: Failed to retrieve RMIServer > stub: javax.naming.ConfigurationException [Root exception is > java.rmi.UnknownHostException: Unknown host: 127.0.0.1:9042; nested exception > is: > java.net.UnknownHostException: 127.0.0.1:9042] > at > org.apache.cassandra.stress.util.JmxCollector.connect(JmxCollector.java:99) > at > org.apache.cassandra.stress.util.JmxCollector.<init>(JmxCollector.java:85) > at > org.apache.cassandra.stress.report.StressMetrics.<init>(StressMetrics.java:108) > at org.apache.cassandra.stress.StressAction.run(StressAction.java:228) > at org.apache.cassandra.stress.StressAction.run(StressAction.java:88) > at org.apache.cassandra.stress.Stress.run(Stress.java:155) > at org.apache.cassandra.stress.Stress.main(Stress.java:63) > Caused by: java.io.IOException: Failed to retrieve RMIServer stub: > javax.naming.ConfigurationException [Root exception is > java.rmi.UnknownHostException: Unknown host: 127.0.0.1:9042; nested exception > is: > java.net.UnknownHostException: 127.0.0.1:9042] > at > javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:369) > at > javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:270) > at org.apache.cassandra.tools.NodeProbe.connect(NodeProbe.java:214) > at org.apache.cassandra.tools.NodeProbe.<init>(NodeProbe.java:172) > at > org.apache.cassandra.stress.util.JmxCollector.connect(JmxCollector.java:95) > ... 6 more > Caused by: javax.naming.ConfigurationException [Root exception is > java.rmi.UnknownHostException: Unknown host: 127.0.0.1:9042; nested exception > is: > java.net.UnknownHostException: 127.0.0.1:9042] > at > com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:136) > at > com.sun.jndi.toolkit.url.GenericURLContext.lookup(GenericURLContext.java:205) > at javax.naming.InitialContext.lookup(InitialContext.java:417) > at > javax.management.remote.rmi.RMIConnector.findRMIServerJNDI(RMIConnector.java:1955) > at > javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.java:1922) > at > javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:287) > ... 10 more > Caused by: java.rmi.UnknownHostException: Unknown host: 127.0.0.1:9042; > nested exception is: > java.net.UnknownHostException: 127.0.0.1:9042 > at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:620) > at > sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:216) > at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:202) > at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:342) > at sun.rmi.registry.RegistryImpl_Stub.lookup(RegistryImpl_Stub.java:116) > at > com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:132) > ... 15 more > Caused by: java.net.UnknownHostException: 127.0.0.1:9042 > at > java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:196) > at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) > at java.net.Socket.connect(Socket.java:606) > at java.net.Socket.connect(Socket.java:555) > at java.net.Socket.<init>(Socket.java:451) > at java.net.Socket.<init>(Socket.java:228) > at > sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:40) > at > sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:148) > at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:617) > ... 20 more > Failed to connect over JMX; not collecting these stats > type total ops, op/s, > pk/s, row/s, mean, med, .95, .99, .999, max, time, > stderr, errors, gc: #, max ms, sum ms, sdv ms, mb > total, 94, 94, > 94, 94, 1.8, 1.7, 2.7, 4.3, 5.1, 5.1, 1.0, > 0.00000, 0, 0, 0, 0, 0, 0 > total, 100, 381, > 381, 381, 2.6, 1.6, 6.1, 6.1, 6.1, 6.1, 1.0, > 0.52138, 0, 0, 0, 0, 0, 0 > Results: > Op rate : 98 op/s [WRITE: 98 op/s] > Partition rate : 98 pk/s [WRITE: 98 pk/s] > Row rate : 98 row/s [WRITE: 98 row/s] > Latency mean : 1.9 ms [WRITE: 1.9 ms] > Latency median : 1.7 ms [WRITE: 1.7 ms] > Latency 95th percentile : 2.8 ms [WRITE: 2.8 ms] > Latency 99th percentile : 5.1 ms [WRITE: 5.1 ms] > Latency 99.9th percentile : 6.1 ms [WRITE: 6.1 ms] > Latency max : 6.1 ms [WRITE: 6.1 ms] > Total partitions : 100 [WRITE: 100] > Total errors : 0 [WRITE: 0] > Total GC count : 0 > Total GC memory : 0.000 KiB > Total GC time : 0.0 seconds > Avg GC time : NaN ms > StdDev GC time : 0.0 ms > Total operation time : 00:00:01 > END > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org