Thanks for the update, Joe. Good to know! On Mon, Nov 7, 2011 at 2:44 PM, Joe Kaiser <joe.kai...@stackiq.com> wrote: > > I managed to fix my own problem. > I had "rpc_address" set to localhost. Running an strace on the stress > command shows this attempt to bind to an IPV6 address. Leaving this blank > fixes the problem since host resolution works fine on my cluster. > Thanks, > Joe > > On Sun, Nov 6, 2011 at 8:15 PM, Joe Kaiser <joe.kai...@stackiq.com> wrote: >> >> Hi, >> I am attempting to run the java stress tests: >> Tests to the local machine work fine: >> # sh stress -d localhost -n 1000000 >> Unable to create stress keyspace: Keyspace names must be >> case-insensitively unique >> total,interval_op_rate,interval_key_rate,avg_latency,elapsed_time >> 321975,32197,32197,0.0011982358878794939,10 >> 608889,28691,28691,0.0014594442934119632,20 >> 897246,28835,28835,0.0014675003554621528,30 >> ...... >> >> 9894395,11904,11904,0.002851321382369248,505 >> 10000000,10560,10560,0.003761071918943232,513 >> END >> Tests to a number of the remote machines do not: >> >> # sh stress -d 10.1.255.254 -n 10000000 >> >> Exception in thread "main" java.lang.RuntimeException: >> java.net.ConnectException: Connection refused >> at org.apache.cassandra.stress.Session.getClient(Unknown Source) >> at org.apache.cassandra.stress.Session.createKeySpaces(Unknown Source) >> at org.apache.cassandra.stress.StressAction.run(Unknown Source) >> at org.apache.cassandra.stress.Stress.main(Unknown Source) >> >> This is without firewalls, on the same private subnet with DNS resolvings >> hostname correctly. Nothing shows up in the cassandra logs on either the >> machine where the stress test command was invoked or where it was intended >> to run. >> Has anyone seen this problem before? >> Thanks, >> Joe >> >> -- >> Joe Kaiser >> StackIQ >> Systems Engineer > > > > -- > Joe Kaiser > Systems Engineer > 801-477-0272 > AIM: kobudojoe > GTalk: joe.kai...@stackiq.com > Skype: joe.kaiser >
-- Jonathan Ellis Project Chair, Apache Cassandra co-founder of DataStax, the source for professional Cassandra support http://www.datastax.com