You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Rahul (JIRA)" <ji...@apache.org> on 2013/10/16 13:08:43 UTC

[jira] [Created] (CASSANDRA-6207) cassandra-stress does not honor host name using -d flag

Rahul created CASSANDRA-6207:
--------------------------------

             Summary: cassandra-stress does not honor host name using -d flag 
                 Key: CASSANDRA-6207
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6207
             Project: Cassandra
          Issue Type: Bug
          Components: Tools
         Environment: Linux
            Reporter: Rahul
            Priority: Blocker
             Fix For: 2.0.2


<cassandra_home>/apache-cassandra-2.0.1/tools/bin>./cassandra-stress -d <hostname>

Above cmd throws exceptions like below

Exception in thread "Thread-2" java.lang.RuntimeException: java.net.ConnectException: Connection refused
        at org.apache.cassandra.stress.Session.getClient(Session.java:763)
        at org.apache.cassandra.stress.Session.createKeySpaces(Session.java:692)
        at org.apache.cassandra.stress.StressAction.run(StressAction.java:64)

Note: if host=localhost it works fine but if localhost is being replaced by machine name it start throwing java.net.ConnectException





--
This message was sent by Atlassian JIRA
(v6.1#6144)