org.apache.cassandra.exceptions.ConfigurationException: Invalid yaml. Please remove properties [init_config, instances] from your cassandra.yaml

Stack Overflow | Greg Lloyd | 7 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

    Datadog and Cassandra nodetool cleanup cassandra.yaml conflict

    Stack Overflow | 7 months ago | Greg Lloyd
    org.apache.cassandra.exceptions.ConfigurationException: Invalid yaml. Please remove properties [init_config, instances] from your cassandra.yaml
  2. 0

    Cassandra Invalid Yaml despite valid values

    Stack Overflow | 7 months ago | Rdesmond
    org.apache.cassandra.exceptions.ConfigurationException: Invalid yaml. Please remove properties [credentials_validity_in_ms, prepared_statements_cache_size_mb, transparent_data_encryption_options, thrift_prepared_statements_cache_size_mb, column_index_cache_size_in_kb] from your cassandra.yaml

    2 unregistered visitors

    Root Cause Analysis

    1. org.apache.cassandra.exceptions.ConfigurationException

      Invalid yaml. Please remove properties [init_config, instances] from your cassandra.yaml

      at org.apache.cassandra.config.YamlConfigurationLoader$MissingPropertiesChecker.check()
    2. org.apache.cassandra
      YamlConfigurationLoader.loadConfig
      1. org.apache.cassandra.config.YamlConfigurationLoader$MissingPropertiesChecker.check(YamlConfigurationLoader.java:188)
      2. org.apache.cassandra.config.YamlConfigurationLoader.loadConfig(YamlConfigurationLoader.java:119)
      3. org.apache.cassandra.config.YamlConfigurationLoader.loadConfig(YamlConfigurationLoader.java:95)
      3 frames
    3. com.datastax.bdp
      DseConfigurationLoader.loadConfig
      1. com.datastax.bdp.config.DseConfigurationLoader.loadConfig(DseConfigurationLoader.java:73)
      1 frame
    4. org.apache.cassandra
      DatabaseDescriptor.<clinit>
      1. org.apache.cassandra.config.DatabaseDescriptor.loadConfig(DatabaseDescriptor.java:135)
      2. org.apache.cassandra.config.DatabaseDescriptor.<clinit>(DatabaseDescriptor.java:119)
      2 frames
    5. Java RT
      Optional.orElseGet
      1. java.util.Optional.orElseGet(Optional.java:267)
      1 frame
    6. org.apache.cassandra
      NodeTool.main
      1. org.apache.cassandra.config.CFMetaData$Builder.build(CFMetaData.java:1305)
      2. org.apache.cassandra.config.CFMetaData.compile(CFMetaData.java:409)
      3. org.apache.cassandra.schema.SchemaKeyspace.compile(SchemaKeyspace.java:238)
      4. org.apache.cassandra.schema.SchemaKeyspace.<clinit>(SchemaKeyspace.java:88)
      5. org.apache.cassandra.config.Schema.<init>(Schema.java:107)
      6. org.apache.cassandra.config.Schema.<clinit>(Schema.java:55)
      7. org.apache.cassandra.tools.nodetool.Cleanup.execute(Cleanup.java:50)
      8. org.apache.cassandra.tools.NodeTool$NodeToolCmd.run(NodeTool.java:247)
      9. org.apache.cassandra.tools.NodeTool.main(NodeTool.java:161)
      9 frames