Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 664DA200B2D for ; Thu, 16 Jun 2016 17:39:07 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 64CBF1602C5; Thu, 16 Jun 2016 15:39:07 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id DBFCC160A52 for ; Thu, 16 Jun 2016 17:39:06 +0200 (CEST) Received: (qmail 14506 invoked by uid 500); 16 Jun 2016 15:39:05 -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 14371 invoked by uid 99); 16 Jun 2016 15:39:05 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Jun 2016 15:39:05 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 9D59B2C1F5D for ; Thu, 16 Jun 2016 15:39:05 +0000 (UTC) Date: Thu, 16 Jun 2016 15:39:05 +0000 (UTC) From: "Chris Lohfink (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-12002) SSTable tools mishandling LocalPartitioner MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 16 Jun 2016 15:39:07 -0000 [ https://issues.apache.org/jira/browse/CASSANDRA-12002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15334010#comment-15334010 ] Chris Lohfink commented on CASSANDRA-12002: ------------------------------------------- Was reported on the user list when someone tried to look at sstables of system.batches. +1 to the changes. I can add some unit tests. > SSTable tools mishandling LocalPartitioner > ------------------------------------------ > > Key: CASSANDRA-12002 > URL: https://issues.apache.org/jira/browse/CASSANDRA-12002 > Project: Cassandra > Issue Type: Bug > Components: Tools > Reporter: Chris Lohfink > Assignee: Chris Lohfink > Priority: Minor > Attachments: CASSADNRA-12002.txt > > > The sstabledump and sstablemetadata tools use the FBUtilities.newPartitioner from the name of the partitioner in the validation component. This fails on sstables that are created with things that use the LocalPartitioner (secondary indexes, and the system.batches table). The sstabledump had a check for secondary indexes, but still failed for the system table it was failing for all in the metadata tool. -- This message was sent by Atlassian JIRA (v6.3.4#6332)