Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3E9D5CF28 for ; Mon, 24 Jun 2013 18:58:21 +0000 (UTC) Received: (qmail 80491 invoked by uid 500); 24 Jun 2013 18:58:21 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 80460 invoked by uid 500); 24 Jun 2013 18:58:21 -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 80405 invoked by uid 99); 24 Jun 2013 18:58:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jun 2013 18:58:20 +0000 Date: Mon, 24 Jun 2013 18:58:20 +0000 (UTC) From: =?utf-8?Q?Micha=C5=82_Michalski_=28JIRA=29?= To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CASSANDRA-5694) Allow sstable2json to dump SecondaryIndex SSTables MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-5694?page=3Dcom.atla= ssian.jira.plugin.system.issuetabpanels:all-tabpanel ] Micha=C5=82 Michalski updated CASSANDRA-5694: ---------------------------------------- Attachment: (was: sstable2json-for-2i.txt) =20 > Allow sstable2json to dump SecondaryIndex SSTables > -------------------------------------------------- > > Key: CASSANDRA-5694 > URL: https://issues.apache.org/jira/browse/CASSANDRA-5694 > Project: Cassandra > Issue Type: Improvement > Components: Tools > Reporter: Micha=C5=82 Michalski > Assignee: Micha=C5=82 Michalski > Priority: Minor > Attachments: sstable2json-for-2i-v1.txt > > > When investigating some 2I problems I had, I was pretty disappointed that= sstable2json does not allow me to dump SecondaryIndex, saying that "The pr= ovided column family is not part of this cassandra database: keyspace =3D t= estks, column family =3D testcf.testcf_col_idx". > I'm attaching patch that fixes given problem by changing a bit the way th= at sst2j "validates" the input file. My only concern is that this solution = uses StorageService for "validation", so it's a bit heavier than it should,= as it has to set everything up. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira