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 502721886F for ; Sat, 24 Oct 2015 09:04:28 +0000 (UTC) Received: (qmail 58751 invoked by uid 500); 24 Oct 2015 09:04:28 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 58713 invoked by uid 500); 24 Oct 2015 09:04:27 -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 58702 invoked by uid 99); 24 Oct 2015 09:04:27 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Oct 2015 09:04:27 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id BF3652C0451 for ; Sat, 24 Oct 2015 09:04:27 +0000 (UTC) Date: Sat, 24 Oct 2015 09:04:27 +0000 (UTC) From: "Tiago Batista (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CASSANDRA-10587) sstablemetadata NPE on cassandra 2.2 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Tiago Batista created CASSANDRA-10587: ----------------------------------------- Summary: sstablemetadata NPE on cassandra 2.2 Key: CASSANDRA-10587 URL: https://issues.apache.org/jira/browse/CASSANDRA-10587 Project: Cassandra Issue Type: Bug Components: Tools Reporter: Tiago Batista I have recently upgraded my cassandra cluster to 2.2, currently running 2.2.3. After running the first repair, cassandra renames the sstables to the new naming schema that does not contain the keyspace name. This causes sstablemetadata to fail with the following stack trace: {noformat} Exception in thread "main" java.lang.NullPointerException at org.apache.cassandra.io.sstable.Descriptor.fromFilename(Descriptor.java:275) at org.apache.cassandra.io.sstable.Descriptor.fromFilename(Descriptor.java:172) at org.apache.cassandra.tools.SSTableMetadataViewer.main(SSTableMetadataViewer.java:52) {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)