Hi again,
topic says it all. Its a simple 2 node setup. I can insert rows into the schema without any error but when i try to retrieve data i get a rpc timeout.
cqlsh:test> INSERT INTO table(
one,two) VALUES ('one','two');
cqlsh:test> select * from table;
Request did not complete within rpc_timeout.
cqlsh:test> select * from tableusing consistency local_quorum;
Request did not complete within rpc_timeout.
setting is as follows
schema :
CREATE KEYSPACE keybase
WITH replication = {'class':'NetworkTopologyStrategy',
'datacenter1':2};
1st node :
initial_token: 0
seed_provider:
- class_name: org.apache.cassandra.locator.SimpleSeedProvider
parameters:
- seeds: "1.1.1.1"
partitioner: org.apache.cassandra.dht.RandomPartitioner
listen_address: 1.1.1.1
rpc_address: 1.1.1.1
rpc_port: 9161
2nd node:
initial_token: 34028236692093846346337460743176821145
seed_provider:
- class_name: org.apache.cassandra.locator.SimpleSeedProvider
parameters:
- seeds: "1.1.1.1"
partitioner: org.apache.cassandra.dht.RandomPartitioner
listen_address: 2.2.2.2
rpc_address: 2.2.2.2
rpc_port: 9161
i tried the following
setting the rpc address to 0.0.0.0
leaving it blank
increasing the rpc_timeout value
checking the port 9161 via telnet (which connects)
Note that when i shutdown the 2nd node and run the select it works.
any help is appreciated
