[ https://issues.apache.org/jira/browse/CASSANDRA-3105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13128214#comment-13128214 ]
Pavel Yaskevich commented on CASSANDRA-3105: -------------------------------------------- Can reproduce using latest cassandra-0.8 branch, it should have been fixed by CASSANDRA-3312 {noformat} [git:CASSANDRA-3105?] (~/work/java/cassandra) → ./bin/cassandra-cli --host localhost Connected to: "Test Cluster" on localhost/9160 Welcome to the Cassandra CLI. Type 'help;' or '?' for help. Type 'quit;' or 'exit;' to quit. Cassandra CLI version 0.8.7-SNAPSHOT [default@unknown] use ks; Authenticated to keyspace: ks [default@ks] set cf[e38e47af-da8d-4cea-917b-44b93198643d][hello] = world; Value inserted. [default@ks] get cf[e38e47af-da8d-4cea-917b-44b93198643d]; => (column=hello, value=776f726c64, timestamp=1318690622420000) Returned 1 results. [default@ks] assume cf keys as bytes; Assumption for column family 'cf' added successfully. [default@ks] get cf[e38e47af-da8d-4cea-917b-44b93198643d]; org.apache.cassandra.db.marshal.MarshalException: cannot parse 'e38e47af-da8d-4cea-917b-44b93198643d' as hex bytes [default@ks] {noformat} > MarshallException no longer showing for incompatible key_validation_class > ------------------------------------------------------------------------- > > Key: CASSANDRA-3105 > URL: https://issues.apache.org/jira/browse/CASSANDRA-3105 > Project: Cassandra > Issue Type: Bug > Components: Tools > Affects Versions: 0.8.4 > Environment: Mac OS X 10.6.8 > Cassandra-cli 0.8.4 > Cassandra 0.8.1 > Reporter: Anthony Ikeda > Assignee: Pavel Yaskevich > Priority: Minor > > Recently I tried querying a column family which had the default bytes > key_validation_class using a string. Rather than the usual MarshallException > error displayed, it just displays 'null' > [default@unknown] connect localhost/9160; > Connected to: "Test Cluster" on localhost/9160 > [default@unknown] use RegistryFoundation; > Authenticated to keyspace: RegistryFoundation > [default@RegistryFoundation] list Registry limit 1; > > ------------------- > RowKey: REG:e38e47af-da8d-4cea-917b-44b93198643d > => (column=c-createInfo, > value=7b2274696d657374616d70223a22323031312d30382d31315431333a33343a32362e3136312d30373a3030222c2270726f66696c654964223a2265636f6d6d3a70742f7072663a61696b65646140777367632e636f6d227d, > timestamp=1313094866191002) > => (column=c-externalId, value=15cf9a223f8ad92768499dbdd497c524, > timestamp=1313094866191001) > => (column=c-name, value=416e74686f6e79277320776973686c697374, > timestamp=1313094866191000) > => (column=l-pt-bfbb2342-c85e-43c9-bb69-b3bb54c723fb, value=7074, > timestamp=1313094866388000) > => (column=p-ecomm:pt/prf:aik...@wsgc.com, value=4f574e4552, > timestamp=1313094866191003) > 1 Row Returned. > [default@RegistryFoundation] assume Registry keys as bytes; > > Assumption for column family 'Registry' added successfully. > [default@RegistryFoundation] get > Registry['REG:e38e47af-da8d-4cea-917b-44b93198643d']; > null -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira