Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
smiklosovic opened this issue Mar 24, 2019 · 3 comments
Open

Comments

@smiklosovic
Copy link
Contributor

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.

@ptnapoleon
Copy link
Contributor

I agree that this is a good feature, and I think the naive approach is reasonable.

@smiklosovic
Copy link
Contributor Author

@ptnapoleon
Copy link
Contributor

I was sure defaults were settable, I just wasn't able to find them. Thanks! This is how I've always seen the dtests configured.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants