Return-Path: Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: (qmail 78748 invoked from network); 23 Mar 2010 04:01:49 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 23 Mar 2010 04:01:49 -0000 Received: (qmail 90690 invoked by uid 500); 23 Mar 2010 04:01:49 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 90618 invoked by uid 500); 23 Mar 2010 04:01:48 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 90609 invoked by uid 99); 23 Mar 2010 04:01:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Mar 2010 04:01:48 +0000 X-ASF-Spam-Status: No, hits=-1102.5 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Mar 2010 04:01:47 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4BD56234C495 for ; Tue, 23 Mar 2010 04:01:27 +0000 (UTC) Message-ID: <489079793.424781269316887309.JavaMail.jira@brutus.apache.org> Date: Tue, 23 Mar 2010 04:01:27 +0000 (UTC) From: "Jonathan Ellis (JIRA)" To: commits@cassandra.apache.org Subject: [jira] Updated: (CASSANDRA-912) First-class commandline interface for cassandra In-Reply-To: <1658239445.416251269295407136.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-912?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] 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: https://issues.apache.org/jira/browse/CASSANDRA-912 > 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: http://wiki.apache.org/hadoop/Hbase/Shell). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.