cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-2512) Updating a column's validation class from AsciiType to UTF8Type does not actually work
Date Thu, 21 Apr 2011 20:05:06 GMT

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

Hudson commented on CASSANDRA-2512:
-----------------------------------

Integrated in Cassandra-0.8 #31 (See [https://builds.apache.org/hudson/job/Cassandra-0.8/31/])
    merge CASSANDRA-2512 from 0.7


> Updating a column's validation class from AsciiType to UTF8Type does not actually work
> --------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-2512
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2512
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 0.7.0
>         Environment: Single Node on MacOSX, installed from 0.7.4 binary .tar ball.
>            Reporter: Cathy Daw
>            Assignee: Jonathan Ellis
>             Fix For: 0.7.5
>
>         Attachments: 2512.txt
>
>
> Please note this is reproducible on both Cassandra 0.74 and the April 18th trunk build.
> *Reproduction Steps*
> {code}
> create column family users with comparator = UTF8Type
> and column_metadata = [{column_name: password, validation_class: UTF8Type},
> {column_name: gender, validation_class: AsciiType}];
> update column family users with comparator = UTF8Type
> and column_metadata = [{column_name: password, validation_class: UTF8Type}
> {column_name: gender, validation_class: UTF8Type}];
> {code}
> *Before & After quitting cassandra-cli:  Notice the validation class for the gender
client still shows AsciiType*
> {code}
> [default@demo] describe keyspace demo;
> Keyspace: demo:
>   Replication Strategy: org.apache.cassandra.locator.NetworkTopologyStrategy
>     Options: [datacenter1:1]
>   Column Families:
>     ColumnFamily: users
>       Key Validation Class: org.apache.cassandra.db.marshal.BytesType
>       Default column value validator: org.apache.cassandra.db.marshal.BytesType
>       Columns sorted by: org.apache.cassandra.db.marshal.UTF8Type
>       Row cache size / save period in seconds: 0.0/0
>       Key cache size / save period in seconds: 200000.0/14400
>       Memtable thresholds: 0.29062499999999997/62/1440 (millions of ops/MB/minutes)
>       GC grace seconds: 864000
>       Compaction min/max thresholds: 4/32
>       Read repair chance: 1.0
>       Replicate on write: false
>       Built indexes: []
>       Column Metadata:
>         Column Name: gender
>           Validation Class: org.apache.cassandra.db.marshal.AsciiType
>         Column Name: password
>           Validation Class: org.apache.cassandra.db.marshal.UTF8Type
> {code}

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

Mime
View raw message