Return-Path: Delivered-To: apmail-incubator-cassandra-commits-archive@minotaur.apache.org Received: (qmail 79322 invoked from network); 17 Dec 2009 22:04:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Dec 2009 22:04:41 -0000 Received: (qmail 10380 invoked by uid 500); 17 Dec 2009 22:04:41 -0000 Delivered-To: apmail-incubator-cassandra-commits-archive@incubator.apache.org Received: (qmail 10360 invoked by uid 500); 17 Dec 2009 22:04:41 -0000 Mailing-List: contact cassandra-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cassandra-dev@incubator.apache.org Delivered-To: mailing list cassandra-commits@incubator.apache.org Received: (qmail 10349 invoked by uid 99); 17 Dec 2009 22:04:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Dec 2009 22:04:41 +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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Dec 2009 22:04:39 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C7AB029A002A for ; Thu, 17 Dec 2009 14:04:18 -0800 (PST) Message-ID: <2016978581.1261087458816.JavaMail.jira@brutus> Date: Thu, 17 Dec 2009 22:04:18 +0000 (UTC) From: "Hudson (JIRA)" To: cassandra-commits@incubator.apache.org Subject: [jira] Commented: (CASSANDRA-618) json2sstable/sstable2json don't export/import correct column names when the column family is of BytesType ordering In-Reply-To: <585802577.1260391998070.JavaMail.jira@brutus> 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-618?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12792159#action_12792159 ] Hudson commented on CASSANDRA-618: ---------------------------------- Integrated in Cassandra #291 (See [http://hudson.zones.apache.org/hudson/job/Cassandra/291/]) > json2sstable/sstable2json don't export/import correct column names when the column family is of BytesType ordering > ------------------------------------------------------------------------------------------------------------------ > > Key: CASSANDRA-618 > URL: https://issues.apache.org/jira/browse/CASSANDRA-618 > Project: Cassandra > Issue Type: Bug > Components: Tools > Reporter: Ramzi Rabah > Assignee: Eric Evans > Priority: Minor > Fix For: 0.5 > > Attachments: unittest.patch, v2-0001-CASSANDRA-618-unittest-that-demonstrates-bug.txt, v2-0002-de-serialize-columns-to-from-hex-regardless-of-compara.txt, v2-0003-do-trivial-arithmetic-correctly.txt > > > Easy to reproduce. > 1- start with an empty node. > 2- run: client.insert("Keyspace1", > key_user_id, > new ColumnPath("Standard1", null, "name".getBytes("UTF-8")), > "Ramzi".getBytes("UTF-8"), > timestamp, > ConsistencyLevel.ONE) > 3- flush to get sstable > 4- sstable2json and export the sstable to a file > 5- delete sstable > 6- json2sstable and import the json into a new sstable. > 7- sstable2json on new sstable, you will see that the name is different than the name in the original json file. > Also do a get on the column and it will return no result. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.