[jira] [Commented] (CASSANDRA-12177) sstabledump fails if sstable path includes dot
[ https://issues.apache.org/jira/browse/CASSANDRA-12177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15432693#comment-15432693 ] Keith Wansbrough commented on CASSANDRA-12177: -- Super, 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 >Assignee: Yuki Morishita > Fix For: 3.0.9 > > > 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)
[jira] [Commented] (CASSANDRA-12177) sstabledump fails if sstable path includes dot
[ https://issues.apache.org/jira/browse/CASSANDRA-12177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15413186#comment-15413186 ] Keith Wansbrough commented on CASSANDRA-12177: -- Thanks! Please could someone backport this to 3.0.x? > 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)
[jira] [Commented] (CASSANDRA-12177) sstabledump fails if sstable path includes dot
[ https://issues.apache.org/jira/browse/CASSANDRA-12177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15378280#comment-15378280 ] Chris Lohfink commented on CASSANDRA-12177: --- it would backport pretty easily im pretty sure. The change is pretty isolated > 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)
[jira] [Commented] (CASSANDRA-12177) sstabledump fails if sstable path includes dot
[ https://issues.apache.org/jira/browse/CASSANDRA-12177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15375187#comment-15375187 ] Joel Knighton commented on CASSANDRA-12177: --- I think this still needs to be fixed on the 3.0.x branch - would the patch from [CASSANDRA-12002] backport in a sensible way, [~cnlwsu]? > 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)
[jira] [Commented] (CASSANDRA-12177) sstabledump fails if sstable path includes dot
[ https://issues.apache.org/jira/browse/CASSANDRA-12177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15374559#comment-15374559 ] Keith Wansbrough commented on CASSANDRA-12177: -- 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)
[jira] [Commented] (CASSANDRA-12177) sstabledump fails if sstable path includes dot
[ https://issues.apache.org/jira/browse/CASSANDRA-12177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15373231#comment-15373231 ] Chris Lohfink commented on CASSANDRA-12177: --- What version? This came up in [here|https://issues.apache.org/jira/browse/CASSANDRA-11330?focusedCommentId=15226927&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15226927] and I thought this was fixed in CASSANDRA-12002 > 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)