com.datastax.driver.core.exceptions.InvalidQueryException: no keyspace has been specified

DataStax JIRA | Joaquin Casares | 4 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

    Root Cause Analysis

    1. com.datastax.driver.core.exceptions.InvalidQueryException

      no keyspace has been specified

      at com.datastax.driver.core.ResultSetFuture.convertException()
    2. DataStax Java Driver for Apache Cassandra - Core
      PreparedStatementTest.reprepareOnNewlyUpNodeNoKeyspaceTest
      1. com.datastax.driver.core.ResultSetFuture.convertException(ResultSetFuture.java:270)
      2. com.datastax.driver.core.Session.toPreparedStatement(Session.java:220)
      3. com.datastax.driver.core.Session.prepare(Session.java:170)
      4. com.datastax.driver.core.PreparedStatementTest.reprepareOnNewlyUpNodeTest(PreparedStatementTest.java:288)
      5. com.datastax.driver.core.PreparedStatementTest.reprepareOnNewlyUpNodeNoKeyspaceTest(PreparedStatementTest.java:319)
      5 frames