Return-Path: Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: (qmail 81285 invoked from network); 14 Jul 2010 14:58:49 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 14 Jul 2010 14:58:49 -0000 Received: (qmail 73429 invoked by uid 500); 14 Jul 2010 14:58:49 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 73408 invoked by uid 500); 14 Jul 2010 14:58: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 73400 invoked by uid 99); 14 Jul 2010 14:58:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Jul 2010 14:58:48 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Jul 2010 14:58:46 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o6EEotkX006797 for ; Wed, 14 Jul 2010 14:50:55 GMT Message-ID: <24724963.376061279119055358.JavaMail.jira@thor> Date: Wed, 14 Jul 2010 10:50:55 -0400 (EDT) From: "Jonathan Ellis (JIRA)" To: commits@cassandra.apache.org Subject: [jira] Updated: (CASSANDRA-912) First-class commandline interface 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 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CASSANDRA-912?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Ellis updated CASSANDRA-912: ------------------------------------- Fix Version/s: 0.7.1 (was: 0.7) > First-class commandline interface > --------------------------------- > > 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 > Fix For: 0.7.1 > > Attachments: CASSANDRA-912-2.patch.txt, CASSANDRA-912.patch > > > 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.