CounterColumn names sometimes display as hex in CLI
---------------------------------------------------

                 Key: CASSANDRA-2862
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2862
             Project: Cassandra
          Issue Type: Bug
          Components: Core
    Affects Versions: 0.8.0
         Environment: Linux
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)
            Reporter: Aaron Turner
            Priority: Minor


Seems to happen with only certain CF's, but can't understand why:

list GlobalAggs;
Using default limit of 100
-------------------
RowKey: 201107_ifinucastpkts
=> (counter=000000004e12b670, value=261710244)
            ^^^^^^^^^^^^^^^^ Bad

list RouterAggs;
Using default limit of 100
-------------------
RowKey: 1_201107_ifindiscards
=> (counter=1309849200, value=0)
            ^^^^^^^^^^ Good

Note that both column names are equivalent values.

CF definitions for above:

create column family RouterAggs
    with column_type = Standard
    and key_validation_class = AsciiType
    and comparator = LongType
    and default_validation_class = CounterColumnType
    and comment = 'Storage for router aggregate stats';

create column family GlobalAggs
    with column_type = Standard
    and key_validation_class = AsciiType
    and comparator = LongType
    and default_validation_class = CounterColumnType
    and comment = 'Storage for global aggregate stats';

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

        

Reply via email to