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

Jonathan Ellis commented on CASSANDRA-2311:
-------------------------------------------

I'm getting this running "nosetests -x test/system/test_thrift_server.py" w/ 
Eric's patch applied:

{noformat}
java.lang.NullPointerException
        at 
org.apache.cassandra.thrift.ThriftValidation.validateKeyType(ThriftValidation.java:68)
        at 
org.apache.cassandra.thrift.CassandraServer.internal_batch_mutate(CassandraServer.java:391)
        at 
org.apache.cassandra.thrift.CassandraServer.batch_mutate(CassandraServer.java:418)
{noformat}

Also: shouldn't we move validateKeyType into validateKey?

> type validated row keys
> -----------------------
>
>                 Key: CASSANDRA-2311
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2311
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Eric Evans
>            Assignee: Jon Hermes
>              Labels: cql
>             Fix For: 0.8
>
>         Attachments: 2311.txt, 
> v1-0001-CASSANDRA-2311-missed-CFM-conversion.txt
>
>
> The idea here is to allow the assignment of a column-family-wide key type 
> used to perform validation, (similar to how default_validation_class does for 
> column values).
> This should be as straightforward as extending the column family schema to 
> include the new attribute, and updating {{ThriftValidation.validateKey}} to 
> validate the key ({{AbstractType.validate}}).

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

Reply via email to