Uploaded image for project: 'Apache Cassandra'
  1. Apache Cassandra
  2. CASSANDRA-13814

unable to perform DDL and DML operation after install apache-cassandra-2.1.18

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Urgent
    • Resolution: Invalid
    • 2.1.18
    • Local/Config
    • 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>

      Attachments

        Activity

          People

            Unassigned Unassigned
            raja1206 rajasekhar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: