[ 
https://issues.apache.org/jira/browse/CASSANDRA-3098?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jonathan Ellis resolved CASSANDRA-3098.
---------------------------------------

    Resolution: Not A Problem

column names are formatted based on the CF comparator.  default is bytes.

> Weird/hex "Column Name:"  formatting with "describe keyspaces"
> --------------------------------------------------------------
>
>                 Key: CASSANDRA-3098
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3098
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 0.8.4
>         Environment: Cassandra 0.8.4 (and today's cassandra-0.8 branch)
> java version "1.6.0_20"
> OpenJDK Runtime Environment (IcedTea6 1.9.9) (fedora-54.1.9.9.fc14-x86_64)
> OpenJDK 64-Bit Server VM (build 19.0-b09, mixed mode)
>            Reporter: Jonas Borgström
>
> Displaying a newly created column family with column_metadata displays some 
> kind of hex representation of the column names instead of something more 
> human readable:
> {code}
> [default@test] create column family Foo3 with column_metadata = [{ 
> column_name: mycolumn, validation_class: UTF8Type }, { column_name: 
> mycolumn2, validation_class: UTF8Type }];
> 4f266c60-d236-11e0-0000-242d50cf1fbf
> Waiting for schema agreement...
> ... schemas agree across the cluster
> [default@test] describe keyspace;                                             
>                                                                               
>                     
> Keyspace: test:
>   Replication Strategy: org.apache.cassandra.locator.NetworkTopologyStrategy
>   Durable Writes: true
>     Options: [datacenter1:1]
>   Column Families:
>     ColumnFamily: Foo3
>       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.BytesType
>       Row cache size / save period in seconds: 0.0/0
>       Key cache size / save period in seconds: 200000.0/14400
>       Memtable thresholds: 0.2953125/1440/63 (millions of ops/minutes/MB)
>       GC grace seconds: 864000
>       Compaction min/max thresholds: 4/32
>       Read repair chance: 1.0
>       Replicate on write: true
>       Built indexes: []
>       Column Metadata:
>         Column Name: fffcfffff2   <--- I expected this to say 'mycolumn' or 
> 'mycolumn2'
>           Validation Class: org.apache.cassandra.db.marshal.UTF8Type
>         Column Name: ffffffff     <--- I expected this to say 'mycolumn' or 
> 'mycolumn2'
>           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


Reply via email to