Hello,I have downloaded cassandra-1.2.0 for a test. The output of 
./bin/cassandra and ./bin/cassandra-cli seems to be fine. Please see 
http://pastebin.com/Tgs7qyjS
Next, I created a setup-ycsb.cql and wrote[mahmood@tiger ycsb-0.1.4]$ cat 
setup-ycsb.cql
CREATE KEYSPACE usertable
with placement_strategy = 'org.apache.cassandra.locator.SimpleStrategy'
and strategy_options = {replication_factor:2};
use usertable;
create column family data with comparator=UTF8Type and 
default_validation_class=UTF8Type and key_validation_class=UTF8Type;
  

Problem is, when I execute cassandra-cli commnad, I get connection refused error
[mahmood@tiger ycsb-0.1.4]$ cassandra-cli -h 192.168.1.5 -f setup-ycsb.cql
org.apache.thrift.transport.TTransportException: java.net.ConnectException: 
Connection refused




Everything seems to be normal as I disabled the firewall. So I wonder why I 
receive that error. 
Please see this output for more detail  http://pastebin.com/Bnd3TNCM
  

Did I miss anything?
 Regards,
Mahmood

Reply via email to