Reputation: 1439
i was working with Cassandra 1.2.4 probably, after restoring some key-space when i tried to query in a key-space it gave me Request did not complete within rpc_timeout
so i checked system.log & output.log
under /var/log/cassandra
path
i just find this exception:
Exception in thread Thread[ReadStage:42,5,main] java.lang.RuntimeException: org.apache.cassandra.io.sstable.CorruptSSTableException: java.io.EOFException
what is the reason ? and how can i get rid of rpc_timeout
thanks in advance,
Upvotes: 1
Views: 6495
Reputation: 5424
cqlsh
returns rpc_timeout
when any error occur in server. (remote procedure call -to server- timed out).
i think you problem was after a backup/restore and the restoring step may not perform correctly and your sstables corrupted. this may be helpful.
Upvotes: 1
Reputation: 12513
Seems somehow your SStables are corrupted. You can try rebuilding them using nodetool's
scrub [keyspace]
operation.
If you can't access a specific keyspace,
> ./nodetool -u <username> -pw <password> -h <cassandra_ip> scrub <keyspace>
or if you can't access any keyspace,
> ./nodetool -u <username> -pw <password> -h <cassandra_ip> scrub
Upvotes: 1