cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Evans (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CASSANDRA-2251) unhelpful exception when failing to set keyspace
Date Fri, 25 Feb 2011 21:37:21 GMT

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

Eric Evans commented on CASSANDRA-2251:
---------------------------------------

bq. maybe we should move the check into getKeyspace? there's a bunch of callers that don't
call vCF afterwards.

That'll work too.  New patch attached.

> unhelpful exception when failing to set keyspace
> ------------------------------------------------
>
>                 Key: CASSANDRA-2251
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2251
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Eric Evans
>            Assignee: Eric Evans
>         Attachments: v1-0001-CASSANDRA-2251-raise-IRE-for-null-keyspace.txt
>
>
> If you fail to set the keyspace, {{ThriftValidation.validateColumnFamily()}} raises an
{{AssertionError}}, which remotely results in a {{TApplicationException}}. 

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message