cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sachin Goyal (JIRA)" <>
Subject [jira] [Created] (CASSANDRA-13383) Confusing error: unconfigured table table2
Date Tue, 28 Mar 2017 03:54:41 GMT
Sachin Goyal created CASSANDRA-13383:

             Summary: Confusing error: unconfigured table table2
                 Key: CASSANDRA-13383
             Project: Cassandra
          Issue Type: Improvement
            Reporter: Sachin Goyal

*Select * from an_absent_table;* - gives an error:

com.datastax.driver.core.exceptions.InvalidQueryException: unconfigured table an_absent_table
	at com.datastax.driver.core.Responses$Error.asException( 
	at com.datastax.driver.core.DefaultResultSetFuture.onSet(

	at com.datastax.driver.core.RequestHandler.setFinalResult( 
	at com.datastax.driver.core.RequestHandler.access$2500( 
	at com.datastax.driver.core.RequestHandler$SpeculativeExecution.setFinalResult(

	at com.datastax.driver.core.RequestHandler$SpeculativeExecution.onSet(

	at com.datastax.driver.core.Connection$Dispatcher.channelRead0( 
	at com.datastax.driver.core.Connection$Dispatcher.channelRead0( 

This error should be more descriptive.
At the very least it should mention the keyspace where Cassandra was trying to find the table.
It would help debug client code a lot faster if the keyspace was mentioned in the above message.

This message was sent by Atlassian JIRA

View raw message