[ https://issues.apache.org/jira/browse/CASSANDRA-2935?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis updated CASSANDRA-2935: -------------------------------------- Assignee: (was: Pavel Yaskevich) > CLI ignores quoted default_validation_class in "create column family" command > ----------------------------------------------------------------------------- > > Key: CASSANDRA-2935 > URL: https://issues.apache.org/jira/browse/CASSANDRA-2935 > Project: Cassandra > Issue Type: Bug > Components: Tools > Affects Versions: 0.8.1 > Environment: Ubuntu 10.10 > Reporter: Andy Bauch > Priority: Trivial > > The default_validation_class parameter of CREATE COLUMN FAMILY is ignored > when quotes. The key_validation_class and comparator parameters do not > exhibit this behavior. > Sample output: > [default@vp2] create column family UserPlaybackHistory with > comparator='AsciiType' and key_validation_class='AsciiType' and > default_validation_class='AsciiType'; > 18a9f020-b3ce-11e0-0000-9904252df9ff > Waiting for schema agreement... > ... schemas agree across the cluster > [default@vp2] describe keyspace; > Keyspace: vp2: > Replication Strategy: org.apache.cassandra.locator.SimpleStrategy > Durable Writes: true > Options: [replication_factor:2] > Column Families: > ColumnFamily: UserPlaybackHistory > Key Validation Class: org.apache.cassandra.db.marshal.AsciiType > Default column value validator: > org.apache.cassandra.db.marshal.BytesType > Columns sorted by: org.apache.cassandra.db.marshal.AsciiType > Row cache size / save period in seconds: 0.0/0 > Key cache size / save period in seconds: 200000.0/14400 > Memtable thresholds: 1.0875/232/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: [] > [default@vp2] drop column family UserPlaybackHistory; > 2513e2d0-b3ce-11e0-0000-9904252df9ff > Waiting for schema agreement... > ... schemas agree across the cluster > [default@vp2] create column family UserPlaybackHistory with > comparator=AsciiType and key_validation_class=AsciiType and > default_validation_class=AsciiType; > 5d1b4ce0-b3ce-11e0-0000-9904252df9ff > Waiting for schema agreement... > ... schemas agree across the cluster > [default@vp2] describe keyspace; > > > Keyspace: vp2: > Replication Strategy: org.apache.cassandra.locator.SimpleStrategy > Durable Writes: true > Options: [replication_factor:2] > Column Families: > ColumnFamily: UserPlaybackHistory > Key Validation Class: org.apache.cassandra.db.marshal.AsciiType > Default column value validator: > org.apache.cassandra.db.marshal.AsciiType > Columns sorted by: org.apache.cassandra.db.marshal.AsciiType > Row cache size / save period in seconds: 0.0/0 > Key cache size / save period in seconds: 200000.0/14400 > Memtable thresholds: 1.0875/232/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: [] -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira