Cassandra Fails To Init With 2.1.0 Due To Config Template

Bug #1376951 reported by Auston McReynolds
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack DBaaS (Trove)
Fix Released
Medium
Auston McReynolds

Bug Description

with the default config.template, cassandra fails to initialize with the latest 2.1.0:

ERROR [main] 2014-10-02 22:48:19,681 DatabaseDescriptor.java:134 - Fatal configuration error
org.apache.cassandra.exceptions.ConfigurationException: Invalid yaml. Please remove properties [multithreaded_compaction, memtable_flush_queue_size, preheat_kernel_page_cache, in_memory_compaction_limit_in_mb, compaction_preheat_key_cache] from your cassandra.yaml
 at org.apache.cassandra.config.YamlConfigurationLoader$MissingPropertiesChecker.check(YamlConfigurationLoader.java:150) ~[apache-cassandra-2.1.0.jar:2.1.0]
 at org.apache.cassandra.config.YamlConfigurationLoader.loadConfig(YamlConfigurationLoader.java:103) ~[apache-cassandra-2.1.0.jar:2.1.0]
 at org.apache.cassandra.config.DatabaseDescriptor.loadConfig(DatabaseDescriptor.java:153) ~[apache-cassandra-2.1.0.jar:2.1.0]
 at org.apache.cassandra.config.DatabaseDescriptor.<clinit>(DatabaseDescriptor.java:129) ~[apache-cassandra-2.1.0.jar:2.1.0]
 at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:109) [apache-cassandra-2.1.0.jar:2.1.0]
 at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:457) [apache-cassandra-2.1.0.jar:2.1.0]
 at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:546) [apache-cassandra-2.1.0.jar:2.1.0]

Changed in trove:
milestone: none → kilo-1
assignee: nobody → Auston McReynolds (amcrn)
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to trove (master)

Fix proposed to branch: master
Review: https://review.openstack.org/125812

Changed in trove:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to trove (master)

Reviewed: https://review.openstack.org/125812
Committed: https://git.openstack.org/cgit/openstack/trove/commit/?id=d613726cb8b963a8d25775cb54ca224088a09fe5
Submitter: Jenkins
Branch: master

commit d613726cb8b963a8d25775cb54ca224088a09fe5
Author: amcrn <email address hidden>
Date: Thu Oct 2 16:02:02 2014 -0700

    Update config.template for Cassandra 2.1.0

    the latest cassandra has removed support for various parameters,
    including (but not limited to): multithreaded_compaction,
    memtable_flush_queue_size, preheat_kernel_page_cache,
    in_memory_compaction_limit_in_mb, and compaction_preheat_key_cache.
    this patch updates config.template to be the default that's
    included as a part of a 2.1.0 install.

    Change-Id: I2ea9a53311b3a7a82bac016bea14ec1f52471ab7
    Closes-Bug: #1376951

Changed in trove:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in trove:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in trove:
milestone: kilo-1 → 2015.1.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.