cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roman Skvazh (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CASSANDRA-10587) sstablemetadata NPE on cassandra 2.2
Date Tue, 16 Feb 2016 16:47:18 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-10587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15148877#comment-15148877
] 

Roman Skvazh edited comment on CASSANDRA-10587 at 2/16/16 4:47 PM:
-------------------------------------------------------------------

Same problem here on 2.2.5 after upgrading from 2.1.13 on all nodes on new upgraded "short-named"-files.
{noformat}
Exception in thread "main" java.lang.NullPointerException
	at org.apache.cassandra.io.sstable.Descriptor.fromFilename(Descriptor.java:271)
	at org.apache.cassandra.io.sstable.Descriptor.fromFilename(Descriptor.java:172)
	at org.apache.cassandra.tools.SSTableMetadataViewer.main(SSTableMetadataViewer.java:52)
{noformat}


was (Author: rskvazh):
Same problem here on 2.2.5 after upgrading from 2.1.13 on all nodes.
{noformat}
Exception in thread "main" java.lang.NullPointerException
	at org.apache.cassandra.io.sstable.Descriptor.fromFilename(Descriptor.java:271)
	at org.apache.cassandra.io.sstable.Descriptor.fromFilename(Descriptor.java:172)
	at org.apache.cassandra.tools.SSTableMetadataViewer.main(SSTableMetadataViewer.java:52)
{noformat}

> 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
>            Assignee: Paulo Motta
>             Fix For: 2.2.x, 3.x
>
>
> 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)

Mime
View raw message