Page MenuHomePhabricator

Update cassandra puppetization for 2.1
Closed, ResolvedPublic

Description

For RESTBase we plan to roll out 2.1.2 from the start, which is already imported to the jessie repo. For this we need to update the puppetization.

I have done some manual upgrade testing on cerium, praseodymium and xenon (with puppet disabled), which is looking good. The node started without issues on existing data & operates well in an otherwise 2.0 cluster.

Minimal changes needed in the puppetization:

  • Basically use the new cassandra-env.sh
  • Remove the following properties from cassandra.yaml: [multithreaded_compaction, memtable_flush_queue_size, preheat_kernel_page_cache, compaction_preheat_key_cache, in_memory_compaction_limit_in_mb]
    • Might be good to look at the diff vs. cassandra.yaml.dpkg-dist
  • optionally, install openjdk-8-jdk (not yet available in jessie repo)

Event Timeline

GWicke raised the priority of this task from to Needs Triage.
GWicke updated the task description. (Show Details)
GWicke added a subscriber: GWicke.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptFeb 9 2015, 5:03 AM
GWicke updated the task description. (Show Details)Feb 9 2015, 5:05 AM
GWicke set Security to None.
GWicke updated the task description. (Show Details)
GWicke renamed this task from Upgrade cassandra test cluster to cassandra 2.1 to Update cassandra puppetization for 2.1.Feb 9 2015, 5:29 AM
GWicke updated the task description. (Show Details)
GWicke added a subscriber: faidon.
GWicke added a subscriber: Ottomata.
gerritbot added a subscriber: gerritbot.

Change 189444 had a related patch set uploaded (by GWicke):
Update for Cassandra 2.1.2

https://gerrit.wikimedia.org/r/189444

Patch-For-Review

Two comments on that change (one by Filippo, one by me), all LGTM aside from minor errors. I do have one question. Ticket says "install openjdk-8", change does not. What gives ?

akosiaris claimed this task.Feb 9 2015, 3:27 PM

Change 189444 merged by Alexandros Kosiaris:
Update for Cassandra 2.1.2

https://gerrit.wikimedia.org/r/189444

GWicke added a comment.EditedFeb 9 2015, 5:28 PM

Two comments on that change (one by Filippo, one by me), all LGTM aside from minor errors. I do have one question. Ticket says "install openjdk-8", change does not. What gives ?

From what I see the backport for that is not yet available in our jessie repo (but is in trusty). It doesn't seem to be critical (2.1.2 package depends on openjdk-7), so we can tackle that later.

GWicke updated the task description. (Show Details)Feb 9 2015, 5:28 PM
akosiaris closed this task as Resolved.Feb 9 2015, 5:38 PM

@GWicke, OK good to know. On a side note, I 'd rather we avoid backported openjdk 8 to jessie to production for as much as we can (the openjdk 8 in the apt repo is for CI). Marking as resolved

Change 189530 had a related patch set uploaded (by GWicke):
Update cassandra submodule

https://gerrit.wikimedia.org/r/189530

Patch-For-Review

Why ver 8 when Cassandra seems to support Java 7 ?

Change 189530 merged by Alexandros Kosiaris:
Update cassandra submodule

https://gerrit.wikimedia.org/r/189530