[
https://issues.apache.org/jira/browse/CASSANDRA-7159?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14226501#comment-14226501
]
Philip Thompson commented on CASSANDRA-7159:
--------------------------------------------
[~vsinjavin], a few changes to your use of braces will need to be made to meet
the [code style|http://wiki.apache.org/cassandra/CodeStyle], and I'm not sure
what the policy on wild card imports is.
Functionally, when I run tools/bin/sstablemetadata with the patch, I'm getting
a fatal ConfigurationException. {code}tools/bin/sstablemetadata
/Users/philipthompson/cstar/cassandra/data/data/system/schema_keyspaces-b0f2235744583cdb9631c43e59ce3676/system-schema_keyspaces-ka-1-Data.db
12:14:07.999 [main] DEBUG o.a.c.i.s.m.MetadataSerializer - Load metadata for
/Users/philipthompson/cstar/cassandra/data/data/system/schema_keyspaces-b0f2235744583cdb9631c43e59ce3676/system-schema_keyspaces-ka-1
SSTable:
/Users/philipthompson/cstar/cassandra/data/data/system/schema_keyspaces-b0f2235744583cdb9631c43e59ce3676/system-schema_keyspaces-ka-1
Partitioner: org.apache.cassandra.dht.Murmur3Partitioner
Bloom Filter FP chance: 0.010000
12:14:08.217 [main] ERROR o.a.c.config.DatabaseDescriptor - Fatal configuration
error
org.apache.cassandra.exceptions.ConfigurationException: Expecting URI in
variable: [cassandra.config]. Please prefix the file with file:/// for local
files or file://<server>/ for remote files. Aborting.
at
org.apache.cassandra.config.YamlConfigurationLoader.getStorageConfigURL(YamlConfigurationLoader.java:73)
~[main/:na]
at
org.apache.cassandra.config.YamlConfigurationLoader.loadConfig(YamlConfigurationLoader.java:84)
~[main/:na]
at
org.apache.cassandra.config.DatabaseDescriptor.loadConfig(DatabaseDescriptor.java:158)
~[main/:na]
at
org.apache.cassandra.config.DatabaseDescriptor.<clinit>(DatabaseDescriptor.java:133)
~[main/:na]
at org.apache.cassandra.io.util.Memory.<clinit>(Memory.java:36)
[main/:na]
at
org.apache.cassandra.io.sstable.IndexSummary$IndexSummarySerializer.deserialize(IndexSummary.java:254)
[main/:na]
at
org.apache.cassandra.tools.SSTableMetadataViewer.printMinMaxTokens(SSTableMetadataViewer.java:130)
[main/:na]
at
org.apache.cassandra.tools.SSTableMetadataViewer.main(SSTableMetadataViewer.java:68)
[main/:na]
Expecting URI in variable: [cassandra.config]. Please prefix the file with
file:/// for local files or file://<server>/ for remote files. Aborting.
Fatal configuration error; unable to start. See log for stacktrace.{code}
Running without the patch is working fine for me. Is there something that needs
to be done differently for the call to {{IndexSummary.serializer.deserialize}}
to succeed?
> sstablemetadata command should print some more stuff
> ----------------------------------------------------
>
> Key: CASSANDRA-7159
> URL: https://issues.apache.org/jira/browse/CASSANDRA-7159
> Project: Cassandra
> Issue Type: Improvement
> Components: Tools
> Reporter: Jeremiah Jordan
> Assignee: Vladislav Sinjavin
> Priority: Trivial
> Labels: lhf
> Fix For: 2.1.3
>
> Attachments:
> CASSANDRA-7159_-_sstablemetadata_command_should_print_some_more_stuff.patch
>
>
> It would be nice if the sstablemetadata command printed out some more of the
> stuff we track. Like the Min/Max column names and the min/max token in the
> file.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)