apache / apache/cassandra-ccm

How to specify JVM args per cluster instead upon invoking start method?

Open
#696 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.2k
Forks
309
PR merge metrics
No merged PRs in 30d

Description

Hi, @ptnapoleon

I know there is jvm_args parameter for start method in Cluster class but it means that I have to specify this every time.

Cassandra's dtests are starting nodes but there is not simple way how to say "for all dtests, for every node I start via ccm, I want to set -Xmx and -Xms for each node to so and so value".

There is so many nodes in dtests it is just wrong to specify it every single time per node (not even sure thats possible).

Naive approach would be to introduce jvm_args as a paramter of __init__ on Cluster and if jvm_args in start method are None, it would take args from self.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.