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

Keith Wansbrough edited comment on CASSANDRA-12177 at 7/13/16 9:03 AM:
-----------------------------------------------------------------------

Apologies - this is version 3.7.0, which is the latest available from the 
[download page|http://cassandra.apache.org/download/].

I tried this [3.8-SNAPSHOT|http://cassci.datastax.com/job/cassandra-3.8/] 
(build #2, Jul 11, 2016 3:12 AM) and it does indeed seem to be fixed there. 
Presumably that means it will be fixed in 3.9; will it also be fixed in the 
next 3.0.x release (if the bug exists there; I haven't checked)?

Thanks!


was (Author: kw217):
Apologies - this is version 3.7.0, which is the latest available from the 
[download page|http://cassandra.apache.org/download/].

I tried this [3.8-SNAPSHOT|http://cassci.datastax.com/job/cassandra-3.8/] 
(build #2, Jul 11, 2016 3:12 AM) and it does indeed seem to be fixed there. 
Presumably that means it will be fixed in 3.9; will it also be fixed in the 
next 3.0.x release?

Thanks!

> sstabledump fails if sstable path includes dot
> ----------------------------------------------
>
>                 Key: CASSANDRA-12177
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12177
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>            Reporter: Keith Wansbrough
>
> If there is a dot in the file path passed to sstabledump, it fails with an 
> error {{partitioner org.apache.cassandra.dht.Murmur3Partitioner does not 
> match system partitioner org.apache.cassandra.dht.LocalPartitioner.}}
> I can work around this by renaming the directory containing the file, but it 
> seems like a bug. I expected the directory name to be irrelevant.
> Example (assumes you have a keyspace test containing a table called sport, 
> but should repro with any keyspace/table):
> {code}
> $ cp -a /var/lib/cassandra/data/test/sport-ebe76350474e11e6879fc5e30fbb0e96 
> testdir
> $ sstabledump testdir/mb-1-big-Data.db
> [
>   {
>     "partition" : {
>       "key" : [ "2" ],
>       "position" : 0
>     },
>     "rows" : [
>       {
>         "type" : "row",
>         "position" : 18,
>         "liveness_info" : { "tstamp" : "2016-07-11T10:15:22.766107Z" },
>         "cells" : [
>           { "name" : "score", "value" : "Golf" },
>           { "name" : "sport_type", "value" : "5" }
>         ]
>       }
>     ]
>   }
> ]
> $ cp -a /var/lib/cassandra/data/test/sport-ebe76350474e11e6879fc5e30fbb0e96 
> test.dir
> $ sstabledump test.dir/mb-1-big-Data.db
> ERROR 15:02:52 Cannot open /home/centos/test.dir/mb-1-big; partitioner 
> org.apache.cassandra.dht.Murmur3Partitioner does not match system partitioner 
> org.apache.cassandra.dht.LocalPartitioner.  Note that the default partitioner 
> starting with Cassandra 1.2 is Murmur3Partitioner, so you will need to edit 
> that to match your old partitioner if upgrading.
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to