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. If you are executing this from an external tool, it needs to set Config.setClientMode(true) to avoid loading configuration.

Google Groups | Amit Singh F | 9 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    upgradesstables throws error when migrating from 2.0.14 to 2.1.13

    Google Groups | 9 months ago | Amit Singh F
    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. If you are executing this from an external tool, it needs to set Config.setClientMode(true) to avoid loading configuration.

    Root Cause Analysis

    1. 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. 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()
    2. org.apache.cassandra
      StandaloneUpgrader.main
      1. org.apache.cassandra.config.YamlConfigurationLoader.getStorageConfigURL(YamlConfigurationLoader.java:73)[apache-cassandra-2.1.13.jar:2.1.13]
      2. org.apache.cassandra.config.YamlConfigurationLoader.loadConfig(YamlConfigurationLoader.java:84)[apache-cassandra-2.1.13.jar:2.1.13]
      3. org.apache.cassandra.config.DatabaseDescriptor.loadConfig(DatabaseDescriptor.java:161)[apache-cassandra-2.1.13.jar:2.1.13]
      4. org.apache.cassandra.config.DatabaseDescriptor.<clinit>(DatabaseDescriptor.java:136)[apache-cassandra-2.1.13.jar:2.1.13]
      5. org.apache.cassandra.tools.StandaloneUpgrader.main(StandaloneUpgrader.java:52)[apache-cassandra-2.1.13.jar:2.1.13]
      5 frames