Josh McKenzie
940739a488
Add JDK21 support
...
Patch by Josh McKenzie; reviewed by Mick Semb Wever and Ekaterina Dimitrova for CASSANDRA-18831
Co-authored-by: Aleksey Yeschenko
Co-authored-by: Achilles Benetopoulos
Co-authored-by: Mick Semb Wever
2026-02-02 12:39:05 -05:00
Stefan Miklosovic
1e5c07af32
Merge branch 'cassandra-5.0' into trunk
2025-07-31 09:22:44 +02:00
Igor Kamyshnikov
7bf6eef9d4
Limit the number of held heap dumps to not consume disk space excessively
...
patch by Igor Kamyshnikov; reviewed by Dmitry Konstantinov, Stefan Miklosovic for CASSANDRA-20457
2025-06-30 11:34:23 +02:00
Stefan Miklosovic
2e356413ee
Merge branch 'cassandra-5.0' into trunk
2025-03-31 14:35:00 +02:00
Stefan Miklosovic
d954c19b21
CASSANDRA-20296 follow-up: by default, explicitly set -XX:MaxDirectMemorySize to half of -Xmx
...
patch by Stefan Miklosovic; reviewed by Michael Semb Wever for CASSANDRA-20296
2025-03-31 12:55:32 +02:00
mck
346e096529
Merge branch 'cassandra-5.0' into trunk
...
* cassandra-5.0:
Heap and GC jvm flags improvements
2025-02-22 11:06:00 +01:00
mck
0034a133fa
Heap and GC jvm flags improvements
...
G1 can rely on `-XX:G1NewSizePercent=50` to always floor the young generation's size to 50% of the heap. (In production this can be raised to 66% for optimal performance.)
Fixing the young generation size with `-Xmn` is only applicable to CMS, so move it to the appropriate section.
When using G1, we can automatically set `-XX:ParallelGCThreads` and `-XX:ConcGCThreads` to the number of system cpu cores.
The auto-generated heap size is now half the server's physical RAM, capped at 16G for CMS and 31G for G1.
Increase MaxTenuringThreshold from 1 to 2, as evidence has shown it has no cost (over values of zero or one), but can have significant benefits in keeping objects in the young generation. While, values above 2 don't have any noticeable benefit.
Always set CASSANDRA_HEAPDUMP_DIR, default it to $CASSANDRA_LOG_DIR, to avoid hprof filling up unexpected disk volumes. Assumption here is that the logs directory is large enough to handle these dumps, and/or operators are monitoring these directories more than other randon/unknown directories.
patch by Mick Semb Wever; reviewed by Jon Haddad for CASSANDRA-20296
2025-02-22 10:59:42 +01:00
Zhongxiang Zheng
2ff41551a6
Enable JMX server configuration to be in cassandra.yaml
...
patch by Zhongxiang Zheng; reviewed by Stefan Miklosovic, Maulin Vasavada, Cheng Wang, Jordan West for CASSANDRA-11695
Co-authored-by: Stefan Miklosovic <smiklosovic@apache.org>
Co-authored-by: Sam Tunnicliffe <samt@apache.org>
2024-12-16 11:01:29 +01:00
Maulin Vasavada
9131be9fa5
Make JMX SSL configurable in cassandra.yaml
...
patch by Maulin Vasavada; reviewed by Stefan Miklosovic, Doug Rohrer for CASSANDRA-18508
2024-11-23 10:40:13 +01:00
Stefan Miklosovic
9cc688e978
Merge branch 'cassandra-5.0' into trunk
2024-02-21 09:16:02 +01:00
Stefan Miklosovic
5ae1294cb1
Merge branch 'cassandra-4.1' into cassandra-5.0
2024-02-21 09:15:00 +01:00
Stefan Miklosovic
98d0e181d5
Remove bashisms for mx4j tool in cassandra-env.sh
...
/bin/sh (our shebang in bin/cassandra) does not recognize the
`if` construct which is available in /bin/bash only hence if
MX4J_ADDRESS or MX4J_PORT was not commented out, the script would
fail to execute it.
patch by Stefan Miklosovic; reviewed by Brandon Williams for CASSANDRA-19416
2024-02-21 08:37:23 +01:00
Claude Warren
5d46ff2796
Remove dependency on Sigar in favor of OSHI
...
patch by Claude Warren; reviewed by Stefan Miklosovic, Jacek Lewandowski, Michael Semb Wever for CASSANDRA-16565
Co-authored-by: Stefan Miklosovic <smiklosovic@apache.org>
2024-01-23 11:54:20 +01:00
Ekaterina Dimitrova
3755934e52
Drop JDK8 and add JDK17, remove eclipse-warnings in favor of Checker Framework and upgrade checkstyle
...
patch by Ekaterina Dimitrova; reviewed by Jeremiah Jordan, Berenguer Blasi, Michael Semb Wever and Jacek Lewandowski for CASSANDRA-18255
2023-07-24 15:16:53 -04:00
Benjamin Lerer
600f4d9a69
Upgrade Jamm version to 0.4.0
...
This upgrade also fixes issues with PhantomReferences and the test problems from CASSANDRA-17884 anad CASSANDRA-16304
patch by Benjamin Lerer; reviewed by Ekaterina Dimitrova for CASSANDRA-18239
2023-07-22 14:55:49 -04:00
Ekaterina Dimitrova
d1e3c781b5
Add JDK17 startup scripts
...
patch by Ekaterina Dimitrova; reviewed by Mick Semb Wever for CASSANDRA-18258
2023-02-27 12:06:44 -05:00
Brandon Williams
96884ee705
Merge branch 'cassandra-3.11' into cassandra-4.0
2021-06-29 15:59:50 -05:00
Brandon Williams
c3ae22d654
Merge branch 'cassandra-3.0' into cassandra-3.11
2021-06-29 15:58:38 -05:00
Brandon Williams
2d8b304e75
Ninja fix comments saying mx4j defaults to 0.0.0.0
...
CASSANDRA-13574
2021-06-29 15:57:55 -05:00
Adam Holmberg
023eecb03a
Fix check for -Xlog in cassandra-env.sh
...
patch by Yakir Gibraltar; reviewed by Adam Holmberg, Mick Semb Wever for CASSANDRA-16279
2021-01-08 22:06:23 +01:00
Jeremy Hanna
688bb664c5
USING_G1 is incorrectly set in cassandra-env.sh if G1 is explicitly disabled with -UseG1GC
...
Patch by Jeremy Hanna, reviewed by David Capwell and brandonwilliams for
CASSANDRA-15931
2020-07-08 11:21:56 -05:00
Jeremy Hanna
3cfe3c9f0d
Fail fast when -Xmn is set when the G1 garbage collector is enabled
...
patch by Jeremy Hanna; reviewed by Anthony Grasso for CASSANDRA-15839
2020-06-24 12:53:53 +02:00
Mick Semb Wever
2da9af002a
Merge branch 'cassandra-3.11' into trunk
2020-01-02 11:28:56 +01:00
Mick Semb Wever
1381c875e8
Merge branch 'cassandra-3.0' into cassandra-3.11
2020-01-02 11:27:33 +01:00
Mick Semb Wever
3edbb09e02
Configure the GC logs directory to be the same as other C* log directories, as defined by $CASSANDRA_LOG_DIR
...
patch by Angelo Polo; reviewed by Mick Semb Wever for CASSANDRA-14306
2020-01-02 11:23:09 +01:00
Mick Semb Wever
797ec05a6a
Merge branch 'cassandra-3.11' into trunk
2019-05-27 11:31:50 +10:00
Mick Semb Wever
60bdfb1731
Fix cassandra-env.sh to use $CASSANDRA_CONF to find cassandra-jaas.config
...
Patch by Angelo Polo; Reviewed by Mick Semb Wever for CASSANDRA-14305
2019-05-27 11:24:23 +10:00
Mick Semb Wever
439c8278f0
Merge branch 'cassandra-3.11' into trunk
2019-04-01 20:51:06 +11:00
Mick Semb Wever
8ac2e4244d
Merge branch 'cassandra-3.0' into cassandra-3.11
2019-04-01 20:47:14 +11:00
Mick Semb Wever
47910df834
Merge branch 'cassandra-2.2' into cassandra-3.0
2019-04-01 20:46:17 +11:00
Mick Semb Wever
6fc3df93b8
Update comment link to mx4j in cassandra-env.sh
...
patch by Jearvon Dharrie; reviewed by Mick Semb Wever for CASSANDRA-14950
2019-04-01 20:40:19 +11:00
Robert Stupp
6ba2fb9395
Make C* compile and run on Java 11 and Java 8
...
patch by Robert Stupp; reviewed by Jason Brown for CASSANDRA-9608
2018-07-26 18:20:00 +02:00
Mick Semb Wever
4268761695
Merge branch 'cassandra-3.11' into trunk
2018-05-10 12:47:50 +10:00
Mick Semb Wever
df9475086d
Detect OpenJDK jvm type and architecture
...
Patch by Stefan Podkowinski; Reviewed by Mick Semb Wever for CASSANDRA-12793
2018-05-10 12:46:03 +10:00
Benjamin Lerer
17e602b7d2
Merge branch cassandra-3.11 into trunk
2017-12-12 10:52:23 +01:00
Benjamin Lerer
a7c45be936
Merge branch cassandra-3.0 into cassandra-3.11
2017-12-12 10:42:50 +01:00
Benjamin Lerer
dd187d105b
Merge branch cassandra-2.2 into cassandra-3.0
2017-12-12 10:32:36 +01:00
Benjamin Lerer
02aba7343c
Rely on the JVM to handle OutOfMemoryErrors
...
patch by Benjamin Lerer; reviewed by Joshua McKenzie for CASSANDRA-13006
2017-12-12 10:21:05 +01:00
Jay Zhuang
41ef972b18
simplify mx4j configuration
...
patch by Jay Zhuang; reviewed by jasobrown for CASSANDRA-13578
2017-08-24 09:13:56 -07:00
Jason Brown
356dc3c253
switch internode messaging to netty
...
patch by jasobrown, reviewed by pcmanus for CASSANDRA-8457
2017-08-22 13:54:44 -07:00
Sam Tunnicliffe
9eae8d340c
Use custom RMI registry to avoid issues with JMX and SSL
...
Patch by Sam Tunnicliffe; reviewed by Jake Luciani for CASSANDRA-12109
2016-07-20 13:06:02 +01:00
Stefania Alborghetti
78f077de07
Revert "Update to Netty 4.0.37"
...
This reverts commit e8d7fe8a28 .
2016-07-06 12:58:06 +08:00
Josh McKenzie
c86b3e1830
Merge branch 'cassandra-3.0' into cassandra-3.9
2016-06-30 16:33:53 -04:00
Josh McKenzie
6b241097b4
revert CASSANDRA-11949 3.0+
2016-06-30 16:33:34 -04:00
Josh McKenzie
82cdc8617a
Revert "Fix GC logging on first start"
...
This reverts commit 3a61c10659 .
2016-06-30 16:31:43 -04:00
Josh McKenzie
0294fd8911
Merge branch 'cassandra-3.0' into cassandra-3.9
2016-06-28 13:47:49 -04:00
Josh McKenzie
2395f9e467
Merge branch 'cassandra-2.2' into cassandra-3.0
2016-06-28 13:47:24 -04:00
Mahdi Mohammadi
3a61c10659
Fix GC logging on first start
...
Patch by mmohammadi; reviewed by jmckenzie for CASSANDRA-11949
2016-06-28 13:46:38 -04:00
Robert Stupp
e8d7fe8a28
Update to Netty 4.0.37
...
patch by Robert Stupp; reviewed by T Jake Luciani for CASSANDRA-12032
2016-06-21 16:47:37 +02:00
Josh McKenzie
54d7fc4b02
Merge branch 'cassandra-3.0' into cassandra-3.7
2016-05-03 14:06:57 -04:00