Commit Graph

133 Commits

Author SHA1 Message Date
Jon Meredith 4e0aad3319 Split and order IDEA workspace template VM_PARAMETERS
patch by Jon Meredith; reviewed by David Capwell for CASSANDRA-18242
2023-02-13 17:43:21 -07:00
Jacek Lewandowski 763793e89d Merge branch 'cassandra-4.1' into trunk 2023-02-01 09:49:17 +01:00
Jacek Lewandowski dcc19cf865 Merge branch 'cassandra-4.0' into cassandra-4.1 2023-02-01 09:47:12 +01:00
Jacek Lewandowski 9bf128aaa3 Improve unit tests performance
- Don't flush schema on every schema update in unit tests
- Use unix command to delete test data
- Shorten teardown
- Stable processor count presented by JMX on Jenkins, CircleCI and local

Patch by <jacek-lewandowski>, reviewed by <michaelsembwever> and <josh-mckenzie> for CASSANDRA-17427
2023-02-01 09:40:50 +01:00
Stefan Miklosovic 386bf7815a Merge branch 'cassandra-4.1' into trunk 2023-01-10 09:08:36 +01:00
Stefan Miklosovic da5ec9a8e3 Merge branch 'cassandra-4.0' into cassandra-4.1 2023-01-10 09:06:56 +01:00
Stefan Miklosovic f17e431f24 Merge branch 'cassandra-3.11' into cassandra-4.0 2023-01-10 09:04:51 +01:00
Stefan Miklosovic 156cc6fedc Merge branch 'cassandra-3.0' into cassandra-3.11 2023-01-10 09:02:46 +01:00
Maxim Muzafarov 877d6e6e95 Add to the IntelliJ Git Window issue navigation links to Cassandra's Jira
patch by Maxim Muzafarov; reviewed by David Capwell, Aleksey Yeschenko, Stefan Miklosovic for CASSANDRA-18126
2023-01-09 09:37:53 +01:00
Mick Semb Wever 9603d03938
Merge branch 'cassandra-4.1' into trunk
* cassandra-4.1:
  Update NetBeans project file for dependency changes since 7th July 2021
2022-11-02 18:33:32 +01:00
Mick Semb Wever b7ef579703
Merge branch 'cassandra-4.0' into cassandra-4.1
* cassandra-4.0:
  Update NetBeans project file for dependency changes since 7th July 2021
2022-11-02 18:32:53 +01:00
Mick Semb Wever 0db0b8f781
Update NetBeans project file for dependency changes since 7th July 2021
patch by Mick Semb Wever; reviewed by Ekaterina Dimitrova for CASSANDRA-18002
2022-11-02 18:31:05 +01:00
Mick Semb Wever b0ae3de1c9
Merge branch 'cassandra-4.1' into trunk
* cassandra-4.1:
  Fix JMX security vulnerabilities
2022-10-18 22:58:57 +02:00
Mick Semb Wever fbb3079144
Merge branch 'cassandra-4.0' into cassandra-4.1
* cassandra-4.0:
  Fix JMX security vulnerabilities
2022-10-18 22:55:59 +02:00
Mick Semb Wever 9a24fa81e5
Merge branch 'cassandra-3.11' into cassandra-4.0
* cassandra-3.11:
  Fix JMX security vulnerabilities
2022-10-18 22:53:37 +02:00
Mick Semb Wever 95d0a936f9
Merge branch 'cassandra-3.0' into cassandra-3.11
* cassandra-3.0:
  Fix JMX security vulnerabilities
2022-10-18 22:50:49 +02:00
Abe Ratnofsky b2660bcf78
Fix JMX security vulnerabilities
patch by Abe Ratnofsky; reviewed by Jon Meredith, Mick Semb Wever, Sam Tunnicliffe for CASSANDRA-17921
2022-10-18 22:47:49 +02:00
Josh McKenzie 3e0b94565a Add support to generate a One-Shot heap dump on unhandled exceptions
Patch by Caleb Rackliffe; reviewed by Josh McKenzie, David Capwell, and Jon Meredith for CASSANDRA-17795

Co-authored-by: Caleb Rackliffe <calebrackliffe@gmail.com>
Co-authored-by: Josh McKenzie <jmckenzie@apache.org>
2022-08-15 10:48:29 -04:00
Francisco Guerrero a250126f0f Remove commons-lang dependency during build runtime
patch by Francisco Guerrero; reviewed by Dinesh Joshi, Yifan Cai for CASSANDRA-17724
2022-07-06 17:41:12 -07:00
David Capwell 7db3285e7b Migrate track_warnings to more standard naming conventions and use latest configuration types rather than long
patch by David Capwell; reviewed by Andres de la Peña, Caleb Rackliffe for CASSANDRA-17560
2022-04-21 14:32:25 -07:00
Benedict Elliott Smith 209c35aa62 [CEP-10] Phase 4: Cluster and Code Simulation
patch by Benedict; reviewed by Sam Tunnicliffe for CASSANDRA-17008

Co-authored-by: Benedict Elliott Smith <benedict@apache.org>
Co-authored-by: Sam Tunnicliffe <samt@apache.org>
Co-authored-by: Alex Petrov <oleksandr.petrov@gmail.com>
2021-11-30 16:05:54 +00:00
Brandon Williams ec04802e52 Merge branch 'cassandra-4.0' into trunk 2021-10-21 07:39:25 -05:00
Brandon Williams e8d905e636 Merge branch 'cassandra-3.11' into cassandra-4.0 2021-10-21 07:39:15 -05:00
Brandon Williams 386fe19d7d Merge branch 'cassandra-3.0' into cassandra-3.11 2021-10-21 07:38:48 -05:00
Brandon Williams 94611e9f2b Set fork mode to class in IntelliJ default test config
Patch by Jacek Lewandowski; reviewed by brandonwilliams and marcuse for
CASSANDRA-17053
2021-10-21 07:37:53 -05:00
David Capwell c7526f943f Add soft/hard limits to local reads to protect against reading too much data in a single query
patch by David Capwell; reviewed by Caleb Rackliffe and Marcus Eriksson for CASSANDRA-16896
2021-09-28 12:49:12 -05:00
Marcus Eriksson 9e9dffb704 Remove OrderedJUnit4ClassRunner
Patch by marcuse; reviewed by Caleb Rackliffe for CASSANDRA-16942
2021-09-20 13:37:32 +02:00
Caleb Rackliffe 4950878639 update IDEA setup generation to mark test/conf as test resources
patch by Abe Ratnofsky; reviewed by Caleb Rackliffe and Brandon Williams for CASSANDRA-16745
2021-07-25 11:37:33 -05:00
jacek-lewandowski 8857d04489 Fix broken IntelliJ configuration Authored by Jacek Lewandowski; reviewed by Ekaterina Dimitrova and Michael Semb Wever for CASSANDRA-16618 2021-07-25 11:37:33 -05:00
Mick Semb Wever fd7732389a Update IDE, Eclipse and NetBeans, classpaths for tests
patch by Mick Semb Wever, Berenguer Blasi; reviewd by Ekaterina Dimitrova, Benjamin Lerer for CASSANDRA-16560
2021-07-25 11:37:33 -05:00
jacek-lewandowski d3e174fa22 Fix broken IntelliJ configuration Authored by Jacek Lewandowski; reviewed by Ekaterina Dimitrova and Michael Semb Wever for CASSANDRA-16618 2021-07-25 11:35:45 -05:00
Mick Semb Wever 6bf9b8b694 Update IDE, Eclipse and NetBeans, classpaths for tests
patch by Mick Semb Wever, Berenguer Blasi; reviewd by Ekaterina Dimitrova, Benjamin Lerer for CASSANDRA-16560
2021-07-25 11:35:45 -05:00
Mick Semb Wever 3259d6de37 Migrate dependency handling from maven-ant-tasks to resolver-ant-tasks
- This removes lib/ from version control.
- The generated pom files are now the source of truth to the project's depdendencies, and the lib/ folder re-created during the build from compile scope dependencies excluding provided and system scopes. Project dependencies are first downloaded to the maven local repository at `~/.m2/repository`.
- Maven is now required to be installed to build, that is the `mvn` command needs to be found in the path.
- The new resolver-ant-tasks targets have been encapsulated into the `build/build-resolver.xml` ant file.
- Most classpaths in build.xml are replaced with resolver:resolve definitions.
- The build-deps-pom generated pom file is now only used for declaring test dependencies.

 patch by Mick Semb Wever; reviewed by Brandon Williams for CASSANDRA-16557
2021-07-25 11:35:45 -05:00
Mick Semb Wever bd1ffa7617
Merge branch 'cassandra-3.11' into cassandra-4.0 2021-06-17 12:11:01 +02:00
Mick Semb Wever b857aa12bf
Merge branch 'cassandra-3.0' into cassandra-3.11 2021-06-17 11:42:18 +02:00
Jacek Lewandowski d54eff3a4a
Remove full project building from the generate-idea-files ant target
- that target was unnecessarily building the whole project which made it problematic to update the project while merging/rebasing if conflicts in the code were failing the compilation
 - updated system properties for default run test task in Intellij to match those when running tests from Ant
 - fix test-memory target

 patch by Jacek Lewandowski; reviewed by Mick Semb Wever for CASSANDRA-16697
2021-06-17 11:25:58 +02:00
Caleb Rackliffe 6ef3eaf771 update IDEA setup generation to mark test/conf as test resources
patch by Abe Ratnofsky; reviewed by Caleb Rackliffe and Brandon Williams for CASSANDRA-16745
2021-06-16 14:15:40 -05:00
Aleksei Zotov 5578627d74
Update NetBeans classpath after CASSANDRA-16570 (jstackunit) and CASSANDRA-16576 (jflex)
patch by Aleksei Zotov; reviewed by Mick Semb Wever
2021-04-27 20:20:21 +02:00
jacek-lewandowski 26bf07890e Fix broken IntelliJ configuration
Authored by Jacek Lewandowski; reviewed by Ekaterina Dimitrova and Michael Semb Wever for CASSANDRA-16618
2021-04-22 17:28:38 -04:00
Mick Semb Wever c65500e8a1
Update IDE, Eclipse and NetBeans, classpaths for tests
patch by Mick Semb Wever, Berenguer Blasi; reviewd by Ekaterina Dimitrova, Benjamin Lerer for CASSANDRA-16560
2021-04-08 11:10:19 +02:00
Mick Semb Wever cf39d03127
Migrate dependency handling from maven-ant-tasks to resolver-ant-tasks
- This removes lib/ from version control.
- The generated pom files are now the source of truth to the project's depdendencies, and the lib/ folder re-created during the build from compile scope dependencies excluding provided and system scopes. Project dependencies are first downloaded to the maven local repository at `~/.m2/repository`.
- Maven is now required to be installed to build, that is the `mvn` command needs to be found in the path.
- The new resolver-ant-tasks targets have been encapsulated into the `build/build-resolver.xml` ant file.
- Most classpaths in build.xml are replaced with resolver:resolve definitions.
- The build-deps-pom generated pom file is now only used for declaring test dependencies.

 patch by Mick Semb Wever; reviewed by Brandon Williams for CASSANDRA-16391
2021-04-02 10:17:08 +02:00
Mick Semb Wever 1a92e4a649
Merge branch 'cassandra-3.11' into trunk 2021-03-27 00:38:31 +01:00
Mick Semb Wever e031ed09a9
ninja-fix: update netbeans project dependencies after CASSANDRA-16249,CASSANDRA-13951,CASSANDRA-16136,CASSANDRA-16462 2021-03-26 14:38:23 +01:00
zhaorenhai 7f1659cd1d
Upgrade netty and chronicle-queue dependencies to get Auditing and native library loading working on arm64 architectures
CASSANDRA-16384 test case AuditLoggerTest fail on aarch64 platform
 CASSANDRA-16392 Unable to load the library netty_tcnative_linux_aarch_64

 patch by Zhao Renhai (赵 仁海); reviewed by Mick Semb Wever for CASSANDRA-16384,CASSANDRA-16392
2021-01-22 10:02:20 +01:00
Bereng 0bb1c51162
Update jctools from 1.2.1 to 3.1.0
patch by Berenguer Blasi; reviewed by Mick Semb Wever for CASSANDRA-16255
2020-11-20 08:51:54 +01:00
Mick Semb Wever 1b139bc66c
Update NetBeans project file for dependency changes since 11th Feb 2020
patch by Mick Semb Wever; patch by Berenguer Blasi for CASSANDRA-16234
2020-11-20 08:48:04 +01:00
David Capwell 614d7d06f4 Change style guide to include @Override
patch by David Capwell for CASSANDRA-16096
2020-09-02 11:36:56 -07:00
Blake Eggleston c9e40277f0 Add compaction allocation measurement test
Patch by Blake Eggleston, reviewed by Benedict Elliott Smith and David Capwell for CASSANDRA-15388
2020-03-11 12:50:50 -07:00
Brandon Williams 0f102c8670 disable shrinks in quicktheories
Patch by brandonwilliams, reviewed by Jordan West and David Capwell for
CASSANDRA-15554
2020-02-06 16:45:22 -06:00
Boris Tsirkin 2dbae87c78 Remove joda time dependency.
Patch by Boris Tsikin, reviewed by brandonwilliams for CASSANDRA-15257
2020-01-23 11:19:36 -06:00
Mick Semb Wever 8f7f6e903b
Merge branch 'cassandra-3.11' into trunk 2020-01-21 19:12:38 +01:00
Mick Semb Wever 6a8e211fba
Merge branch 'cassandra-3.0' into cassandra-3.11 2020-01-21 19:10:59 +01:00
Mick Semb Wever 14aa561c32
Merge branch 'cassandra-2.2' into cassandra-3.0 2020-01-21 19:08:52 +01:00
Mick Semb Wever d69f7696e4
Create Jenkins pipeline definition, and split out Jenkins test-all builds to individual builds for each of the test targets
patch by Mick Semb Wever; reviewed by David Capwell for CASSANDRA-15496
2020-01-21 18:59:16 +01:00
Mick Semb Wever e80d447bc5
update netbeans project file for latest dependencies 2020-01-01 14:16:08 +01:00
Mick Semb Wever 05d24745b4
update netbeans project file for latest dependencies 2019-11-15 19:01:36 +01:00
Dinesh A. Joshi 5d401f3a39 Merge branch 'cassandra-3.11' into trunk 2019-10-08 14:15:06 -07:00
Dinesh A. Joshi 4675b3fd33 Merge branch 'cassandra-3.0' into cassandra-3.11 2019-10-08 14:10:40 -07:00
Blake Eggleston 587961a19c Merge branch 'cassandra-3.11' into trunk 2019-04-25 10:23:40 -07:00
Blake Eggleston 01d6548e0d Merge branch 'cassandra-3.0' into cassandra-3.11 2019-04-25 10:21:55 -07:00
Blake Eggleston c3ce32e239 Fix assorted gossip races and add related runtime checks
Patch by Blake Eggleston; Reviewed by Ariel Weisberg for CASSANDRA-15059
2019-04-25 10:20:46 -07:00
Mick Semb Wever ed2d32612a
Apache NetBeans "Run", "Debug", "Profile" IDE actions
patch by Mick Semb Wever ; reviewed by Dinesh Joshi for CASSANDRA-15083
2019-04-18 12:07:15 +10:00
Mick Semb Wever 6898953b82
Apache NetBeans project files
patch by Mick Semb Wever ; reviewed by Wade Chandler and Dinesh Joshi for CASSANDRA-15073
2019-04-12 09:33:49 +10:00
Blake Eggleston 9063ceabc9 Fix AbstractBTreePartition locking in java 11
Patch by Blake Eggleston; Reviewed by Benedict Elliot Smith for CASSANDRA-14607
2019-03-25 14:24:16 -07:00
Benedict Elliott Smith 2d05bff0ba Merge branch 'cassandra-3.0' into cassandra-3.11 2019-01-21 17:44:36 +00:00
Benedict Elliott Smith 459945bcf4 Merge branch 'cassandra-2.2' into cassandra-3.0 2019-01-21 17:43:26 +00:00
Joseph Lynch 8ad4a9a522 In JVM dtests need to clean up after instance shutdown
Adds additional cleanup logic to ensure we don't leak classloaders and
their associated objects when running the in JVM dtests.

Patch by Joseph Lynch; reviewed by Alex Petrov for CASSANDRA-14922
2019-01-21 10:13:48 +00:00
Alex Petrov 1d5e0301f3 Introduce in-jvm distributed tests
Patch by Alex Petrov and Benedict Elliott Smith; reviewed by Benedict Elliott Smith and Dinesh Joshi for CASSANDRA-14821.

Co-authored-by: Benedict Elliott Smith <benedict@apache.org>
2019-01-21 10:13:48 +00:00
Joseph Lynch d5005627b0 In JVM dtests need to clean up after instance shutdown
Adds additional cleanup logic to ensure we don't leak classloaders and
their associated objects when running the in JVM dtests.

Patch by Joseph Lynch; reviewed by Alex Petrov for CASSANDRA-14922
2019-01-09 15:00:16 +01:00
Alex Petrov f22fec927d Introduce in-jvm distributed tests
Patch by Alex Petrov and Benedict Elliott Smith; reviewed by Benedict Elliott Smith and Dinesh Joshi for CASSANDRA-14821.

Co-authored-by: Benedict Elliott Smith <benedict@apache.org>
2018-11-16 19:41:58 +01:00
Marcus Eriksson f83bd5ac2b Add fqltool compare
Patch by marcuse; reviewed by Jason Brown and Dinesh Joshi for CASSANDRA-14619
2018-09-01 09:59:21 +02:00
Jordan West d78310d53f Remove hardcoded java11 jvm args in idea workspace files
patch by Jordan West; reviewed by jasobrown for CASSANDRA-14627
2018-08-10 05:40:45 -07:00
Marcus Eriksson 9bc15bacea Default project generation to java8
Patch by marcuse; reviewed by Benedict for CASSANDRA-14613
2018-07-31 15:57:56 +02: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
Jay Zhuang 7a424bc2a7 Update Intellij JUnit configuration
And other ninja build fixes.

patch by Jay Zhuang; reviewed by Stefan Podkowinski for CASSANDRA-14169
2018-02-14 16:32:24 +01:00
Sylvain Lebresne 4881d9c308 Thrift removal
patch by Sylvain Lebresne; reviewed by Aleksey Yeschenko for CASSANDRA-11115
2016-12-13 10:27:12 +01:00
Robert Stupp 7eb6b997f2 Ninja, remove gen-thrift-java ant task from IntelliJ launch configs 2016-08-20 21:55:56 +10:00
Robert Stupp 528204267b Ninja, include lib/sigar-bin in java.library.path for IntelliJ launch configs 2016-08-20 21:34:13 +10:00
Christopher Batey b73f581355 Add basic testing support for the Cassandra Stress tool
Patch by Christopher Batey; reviewed by Joel Knighton for CASSANDRA-11638
2016-07-04 14:48:52 +01:00
Robert Stupp 2db8bd560a Ninja-add test/conf to IntelliJ IDE JUnit default config 2016-04-10 18:00:19 +02:00
Robert Stupp 6ac831f327 Merge branch 'cassandra-2.2' into cassandra-3.0 2015-11-20 17:24:42 +01:00
Robert Stupp 49d9e51555 Reevaluate inspections in generate-idea-files target
patch by Robert Stupp; reviewed by Aleksey Yeschenko for CASSANDRA-9844
2015-11-20 17:24:03 +01:00
Robert Stupp 2641424247 Add generate-idea-files target to build.xml
Patch by Robert Stupp; Reviewed by T Jake Luciani for CASSANDRA-9123
2015-04-07 18:12:16 +02:00