org.apache.cassandra.exceptions.ConfigurationException: Expecting URI in variable: [cassandra.config]. Found[cassandra.yaml]. Please prefix the file with [file:///] for local files and [file://<server>/] for remote files. If you are executing this from an external tool, it needs to set Config.setClientMode(true) to avoid loading configuration.

org.apache.cassandra.exceptions.ConfigurationException: Expecting URI in variable: [cassandra.config]. Found[cassandra.yaml]. Please prefix the file with [file:///] for local files and [file://<server>/] for remote files. If you are executing this from an external tool, it needs to set Config.setClientMode(true) to avoid loading configuration. at org.apache.cassandra.config.YamlConfigurationLoader.getStorageConfigURL(YamlConfigurationLoader.java:76) at org.apache.cassandra.config.YamlConfigurationLoader.(YamlConfigurationLoader.java:90) at org.apache.cassandra.config.DatabaseDescriptor.loadConfig(DatabaseDescriptor.java:132) at org.apache.cassandra.config.DatabaseDescriptor.(DatabaseDescriptor.java:119) at org.apache.cassandra.tools.Util.initDatabaseDescriptor(Util.java:38) at com.scylladb.tools.SSTableExport.metadataFromSSTable(SSTableExport.java:24) at org.apache.cassandra.tools.SSTableExport.run(SSTableExport.java:192) at com.scylladb.tools.SSTableExport.main(SSTableExport.java:37)

Users with the same issue

Unknown user

Once, 1 year ago

Unknown user

Once, 1 year ago

Unknown user

Once, 1 year ago

Unknown user

Once, 1 year ago

Unknown user

Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.