Details
-
Bug
-
Status: Resolved
-
Urgent
-
Resolution: Invalid
-
None
-
linux(RHEL 6.8)
-
Critical
Description
unable to perform DDL and DML operation after install apache-cassandra-2.1.18. please suggest what steps need to performs and provide the solution step by step
Error:
InvalidRequest: code=2200 [Invalid query] message="No keyspace has been specified. USE a keyspace, or explicitly specify keyspace.tablename"
assandra home path : /u01/Cassandra_home
cassandra bin path: -/u01/Cassandra_home/apache-cassandra-2.1.18/bin
[cassdb@alsc_dev_db bin]$ pwd
/u01/Cassandra_home/apache-cassandra-2.1.18/bin
cassdb@alsc_dev_db bin]$ ./cqlsh
Connected to Test Cluster at 127.0.0.1:9042.
[cqlsh 5.0.1 | Cassandra 2.1.18 | CQL spec 3.2.1 | Native protocol v3]
Use HELP for help.
cqlsh>
cqlsh> CREATE TABLE test1(sno int);
InvalidRequest: code=2200 [Invalid query] message="No keyspace has been specified. USE a keyspace, or explicitly specify keyspace.tablename"
cqlsh>