cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <>
Subject [jira] Updated: (CASSANDRA-912) First-class commandline interface for cassandra
Date Tue, 23 Mar 2010 04:01:27 GMT


Jonathan Ellis updated CASSANDRA-912:

    Summary: First-class commandline interface for cassandra  (was: cassandra-cli should handle
binary column names/values, (and ultimately keys) or die)

> First-class commandline interface for cassandra
> -----------------------------------------------
>                 Key: CASSANDRA-912
>                 URL:
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Tools
>    Affects Versions: 0.6
>            Reporter: Eric Evans
> While a useful tool for education and simple tests, cassandra-cli is ultimately limted
by the fact that column names and values are binary, (and eventually keys will be as well,
see CASSANDRA-767). 
> The current approach when writing consists of encoding column names as UTF8, and passing
the value as a byte[] of the String parsed from the command. When performing a read, the column
names outputted are the result of the toString() method of the comparator (the result of which
is not always meaningful), and values are again treated as raw strings. This is almost certainly
broken anywhere that the CF comparator is not UTF8Type and values are anything but strings.
> One possible approach would be to follow HBase's lead and simply allow binary values
to be encoded as strings (see:

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message