You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Aleksey Yeschenko (JIRA)" <ji...@apache.org> on 2017/08/29 11:00:04 UTC

[jira] [Commented] (CASSANDRA-13814) unable to perform DDL and DML operation after install apache-cassandra-2.1.18

    [ https://issues.apache.org/jira/browse/CASSANDRA-13814?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16145109#comment-16145109 ] 

Aleksey Yeschenko commented on CASSANDRA-13814:
-----------------------------------------------

You have to create and then specify a keyspace first, before you create any tables.

> unable to perform DDL and  DML operation after install apache-cassandra-2.1.18
> ------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-13814
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13814
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Configuration
>         Environment: linux(RHEL 6.8)
>            Reporter: rajasekhar
>            Priority: Critical
>             Fix For: 2.1.18
>
>
> 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>



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org