13 Collaborator |
Francisco Guerrero , Yifan Cai , Jon Haddad , Doug Rohrer , Chris Lohfink , Vinay Chella , Saranya Krishnakumar , Yifan , Saranya , Francisco , Doug , Dinesh , Andrew Tolbert |
5 Patch |
7 Review |
38cdacb2e7418e2aefbcffb1754dcd324c46028d,
c9da4b213946fc6dbe8cdcbbc2445348f14a89af,
2265e614d36198cb78134dd7463c6aa3799481ce,
30019477cb1813c5ae75bb7ff5186c2f6d02aecb,
a15ed267d1977e38ba36d061139839fad7b865f2 |
38cdacb2e7418e2aefbcffb1754dcd324c46028d,
595fea7d97f0d87ac9b9a1510379a6faa6a29abf,
29317751434cd1b3a129fd4e44628b28c421c6bd,
c7d68e72daafd83657f5d427223dd6283af70128,
14485bd7ad649d9417b4320eab34631251545d0b,
2dc4b1d0077a6096d5f51aa0500159a7ec67e6d3,
5712fb486b8e49b9b136d28fe2b9915e1d081689 |
38cdacb2e7418e2aefbcffb1754dcd324c46028d | Author: Dinesh Joshi <djoshi@apache.org>
| 2023-05-19 15:34:05-07:00
CEP-28: Implement Bulk API endpoints and introduce the Sidecar Client to Support Cassandra Analytics
This commit implements the remaining endpoints needed to perform Bulk Analytics operations that allow
reading and writing data from Cassandra in Bulk. The new endpoints include:
- Endpoint to create snapshots
- Endpoint to clear a snapshot
- Endpoint to upload SSTable components
- Endpoint to clean up uploads for SSTable components
- Endpoint to import SSTable components
- Endpoint to retrieve gossip info
- Endpoint to retrieve the time skew for the server
- Endpoint to retrieve the ring information
Sidecar Client
Introduces the fully featured sidecar client to access Cassandra Sidecar endpoints.
It offers support for retries and Sidecar instance selection policies. The client
project itself is technology-agnostic, but we provide a vertx implementation for
the `HttpClient`. The Sidecar vertx-client can be published as a shaded-jar to be
consumed by clients where the dependencies can cause issues, especially in environments
where the dependencies are not always controlled by the consumers (for example Spark).
Patch by Doug, Francisco, Saranya, Yifan, Dinesh; reviewed by Dinesh Joshi and Yifan Cai for CASSANDRA-16222
Co-authored-by: Saranya Krishnakumar <saranya_k@apple.com>
Co-authored-by: Yifan Cai <ycai@apache.org>
Co-authored-by: Francisco Guerrero <francisco.guerrero@apple.com>
Co-authored-by: Doug Rohrer <drohrer@apple.com>
Co-authored-by: Dinesh Joshi <djoshi@apache.org>
595fea7d97f0d87ac9b9a1510379a6faa6a29abf | Author: Jon Haddad <jon@jonhaddad.com>
| 2020-03-04 13:56:46-08:00
Improving CircleCI build reliability
Switched to Circle machine image - docker has issues with networking in tests
Fix storing of test results
Updated readme with Java 11
Upgrade vertx
Wait for vertx server startup before sending requests
Update simulacron to latest bug fix version
added spotbugs exclude config to avoid incorrect NPE error on java 11
Configure CircleCi to run tests with Java 11
Patch by Jon Haddad; Reviewed by Dinesh Joshi for CASSANDRA-15611
29317751434cd1b3a129fd4e44628b28c421c6bd | Author: Jon Haddad <jon@jonhaddad.com>
| 2020-03-03 15:24:50-08:00
Upgraded gradle and replaced FindBugs with SpotBugs.
* Upgrading from findbugs (JDK 8 only) to Spotbugs. FindBugs was abandoned
years ago and will not be updated.
* Upgraded Gradle to version 6.2.1
Patch by Jon Haddad; Reviewed by Dinesh Joshi for CASSANDRA-15610.
c7d68e72daafd83657f5d427223dd6283af70128 | Author: Jon Haddad <jon@jonhaddad.com>
| 2020-02-28 16:54:19-08:00
Improving local HealthServiceIntegrationTest reliablility
There appears to be a race condidtion with the simulacron library that causes
test failure if we don't wait long enough. This patch simply extends
the window that we can wait for a test node to come back online.
Patch by Jon Haddad; Reviewed by Dinesh Joshi for CASSANDRA-15615
2265e614d36198cb78134dd7463c6aa3799481ce | Author: Dinesh A. Joshi <dinesh.joshi@apple.com>
| 2019-11-24 20:37:46-08:00
RESTEasy integration with dynamically generated Swagger OpenAPI, Swagger UI and JAX-RS.
This patch introduces JAX-RS based annotation for defining APIs. It removes the manually
created api.yaml (OpenAPI spec) of the API definitions in favor of the dynamically
generated spec based on JAX-RS annotations. It also introduces Swagger UI to browse the
Sidecar APIs and to experiment with them. Finally, it updates the CircleCI workflows
such that the builds are run across both Docker and Machine images. We also gate packaging
builds on success of the compile and test builds. The rationale for running the builds
across both Docker and Machine images is that running the build on a Machine image exposed
a race condition.
Patch by Dinesh Joshi; Reviewed by Jon Haddad and Yifan Cai for CASSANDRASC-22
14485bd7ad649d9417b4320eab34631251545d0b | Author: Andrew Tolbert <andy_tolbert@apple.com>
| 2019-07-28 00:11:22-05:00
Read config from sidecar.config System Property instead of classpath
Alters configuration processing to read from `sidecar.config` system
property instead of using `Configurations` file resolution, which seems
to read from classpath first.
Also does the following:
* Move `conf` into `src/dist/config`. This causes the `conf` directory
to be included in the tar and zip distributions where it previously
was not.
* Don't add `conf` directory to classpath. For logging add
`-Dlogback.configuration` to arguments. Also add `logback-test.xml`
to have different logging behavior for tests.
* Copy agents into `build/install/appName/agents` directly instead of
`src/dist`. Make `copyDist` depend on `copyJolokia`. This also has
the side effect of having agents copied to the project directory, so
`bin/CassandraSidecarDaemon` works after `./gradlew build`.
* Improve logging to include full address instead of just port.
* Add generated paths to gitignore
patch by Andrew Tolbert; reviewed by Dinesh Joshi and Vinay Chella for CASSANDRA-15288
a15ed267d1977e38ba36d061139839fad7b865f2 | Author: Dinesh Joshi <dinesh.joshi@apple.com>
| 2019-02-18 18:16:35-08:00
C* Management process
patch by Dinesh Joshi; reviewed by jasobrown and Chris Lohfink for CASSANDRA-14395
Co-authored-by: Vinay Chella <vinaykumarcse@gmail.com>
Co-authored-by: Joey Lynch <joe.e.lynch@gmail.com>