cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (CASSANDRA-1556) InvalidRequestException(why='') returned from system_add_keyspace when strategy_class not found
Date Wed, 06 Oct 2010 18:48:32 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-1556?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jonathan Ellis resolved CASSANDRA-1556.
---------------------------------------

    Resolution: Fixed
      Reviewer: jbellis  (was: amorton)
      Assignee: Aaron Morton  (was: Jonathan Ellis)

committed, thanks!

> InvalidRequestException(why='') returned from system_add_keyspace when strategy_class
not found
> -----------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-1556
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1556
>             Project: Cassandra
>          Issue Type: Bug
>          Components: API
>    Affects Versions: 0.7 beta 2
>            Reporter: Aaron Morton
>            Assignee: Aaron Morton
>            Priority: Trivial
>             Fix For: 0.7.0
>
>         Attachments: 1556-amorton.txt, 1556.txt
>
>
> In thrift/CassandraServer system_add_keyspace() the strategy_class string from the KsDef
is used to load a class. The ClassNotFoundError is then caught and used to build an InvalidRequestException.
If the strategy_class is missing or empty, the error returned to the client is 
> (python)
> InvalidRequestException: InvalidRequestException(why='')
> or 
> InvalidRequestException: InvalidRequestException(why='foo')

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message