[
https://issues.apache.org/jira/browse/CASSANDRA-2615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13032713#comment-13032713
]
Jackson Chung commented on CASSANDRA-2615:
------------------------------------------
+1
[default@testks] assume Super4 comparator as ascii
... ;
Assumption for column family 'Super4' added successfully.
[default@testks] update column family Super4;
INFO 15:20:59,545 Applying migration 1d332bd0-7ce6-11e0-0000-fd7033aa10e7
Update column family to
org.apache.cassandra.config.CFMetaData@6e72d873[cfId=1000,ksName=testks,cfName=Super4,cfType=Super,comparator=org.apache.cassandra.db.marshal.AsciiType,subcolumncomparator=org.apache.cassandra.db.marshal.BytesType,comment=,rowCacheSize=10000.0,keyCacheSize=200000.0,readRepairChance=1.0,replicateOnWrite=false,gcGraceSeconds=864000,defaultValidator=org.apache.cassandra.db.marshal.UTF8Type,keyValidator=org.apache.cassandra.db.marshal.BytesType,minCompactionThreshold=4,maxCompactionThreshold=32,rowCacheSavePeriodInSeconds=0,keyCacheSavePeriodInSeconds=14400,memtableFlushAfterMins=1440,memtableThroughputInMb=242,memtableOperationsInMillions=1.134375,mergeShardsChance=0.1,keyAlias=java.nio.HeapByteBuffer[pos=475
lim=478 cap=480],column_metadata={}]
INFO 15:20:59,546 Enqueuing flush of Memtable-Migrations@903913131(7137/8921
serialized/live bytes, 1 ops)
INFO 15:20:59,547 Writing Memtable-Migrations@903913131(7137/8921
serialized/live bytes, 1 ops)
INFO 15:20:59,547 Enqueuing flush of Memtable-Schema@1257515479(2960/3700
serialized/live bytes, 3 ops)
INFO 15:20:59,737 Completed flushing
/var/lib/cassandra/data/system/Migrations-g-3-Data.db (7201 bytes)
INFO 15:20:59,739 Writing Memtable-Schema@1257515479(2960/3700 serialized/live
bytes, 3 ops)
INFO 15:20:59,912 Completed flushing
/var/lib/cassandra/data/system/Schema-g-3-Data.db (3110 bytes)
1d332bd0-7ce6-11e0-0000-fd7033aa10e7
Waiting for schema agreement...
... schemas agree across the cluster
> in cassandra-cli, the help command output on validation types should be
> updated
> --------------------------------------------------------------------------------
>
> Key: CASSANDRA-2615
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2615
> Project: Cassandra
> Issue Type: Bug
> Reporter: Jackson Chung
> Assignee: Pavel Yaskevich
> Priority: Minor
> Fix For: 0.8.0
>
> Attachments: CASSANDRA-2615.patch
>
>
> from cassandra-cli, say type "help assume"
> you will find:
> Supported values are:
> - AsciiType
> - BytesType
> - CounterColumnType (distributed counter column)
> - IntegerType (a generic variable-length integer type)
> - LexicalUUIDType
> - LongType
> - UTF8Type
> ok now:
> [default@cfs] assume inode comparator as UTF8Type;
> Type 'UTF8Type' was not found. Available: bytes, integer, long, lexicaluuid,
> timeuuid, utf8, ascii.
> so looks like the "supported type list should be update by taking away the
> "Type" post-fix..
> however, on the other hand, you can't really use it:
> [default@cfs] update column family inode;
> Unable to find abstract-type class 'org.apache.cassandra.db.marshal.utf8'
> looks like from the update, you still need the "Type" (case insensitive?)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira