当我使用下面的命令时,我得到了Bad Request: Keyspace 'ks_test' does not exist,有什么帮助吗?我确实从opscenter看到了这个keyspace。
USE ks_test;
Bad Request: Keyspace 'ks_test' does not exist
我用Astyanax AllRowsReader回执写了下面的代码
object CassandraScanner extends App with CassandraHelper {
val context = getContext("movielens_small")
val cf = new ColumnFamily[UUID, String]("movielens_small", UUIDSerializer.get, StringSerializer.get)
val keyspace = context.getClient
v