[ https://issues.apache.org/jira/browse/CASSANDRA-6911?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13945133#comment-13945133 ]
Benedict commented on CASSANDRA-6911: ------------------------------------- bq. No, I don't have to remove the new one from the main lib dir. I know, I meant maybe you had because modifying the stress lib dir wouldn't cause this. But nevermind looks like it's fixed now :-) > Netty dependency update broke stress > ------------------------------------ > > Key: CASSANDRA-6911 > URL: https://issues.apache.org/jira/browse/CASSANDRA-6911 > Project: Cassandra > Issue Type: Bug > Components: Tools > Reporter: Ryan McGuire > Assignee: Benedict > > I compiled stress fresh from cassandra-2.1 and running this command: > {code} > cassandra-stress write n=19000000 -rate threads=50 -node bdplab > {code} > I get the following traceback: > {code} > Exception in thread "Thread-49" java.lang.NoClassDefFoundError: > org/jboss/netty/channel/ChannelFactory > at com.datastax.driver.core.Cluster$Manager.<init>(Cluster.java:941) > at com.datastax.driver.core.Cluster$Manager.<init>(Cluster.java:889) > at com.datastax.driver.core.Cluster.<init>(Cluster.java:88) > at com.datastax.driver.core.Cluster.buildFrom(Cluster.java:144) > at com.datastax.driver.core.Cluster$Builder.build(Cluster.java:854) > at > org.apache.cassandra.stress.util.JavaDriverClient.connect(JavaDriverClient.java:74) > at > org.apache.cassandra.stress.settings.StressSettings.getJavaDriverClient(StressSettings.java:155) > at > org.apache.cassandra.stress.settings.StressSettings.getSmartThriftClient(StressSettings.java:70) > at > org.apache.cassandra.stress.StressAction$Consumer.run(StressAction.java:275) > Caused by: java.lang.ClassNotFoundException: > org.jboss.netty.channel.ChannelFactory > at java.net.URLClassLoader$1.run(URLClassLoader.java:366) > at java.net.URLClassLoader$1.run(URLClassLoader.java:355) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:354) > at java.lang.ClassLoader.loadClass(ClassLoader.java:425) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) > at java.lang.ClassLoader.loadClass(ClassLoader.java:358) > ... 9 more > {code} > It seems this was introduced with an updated netty jar in > cbf304ebd0436a321753e81231545b705aa8dd23 -- This message was sent by Atlassian JIRA (v6.2#6252)