Repository navigation
Conversation
Will list the EC2 instances before detroying the cluster. This was added because it can be scary to destroy EC2 instances without knowing which one will be impacted.
|
Can one of the admins verify this patch? |
|
Jenkins, test this please |
|
Merged build triggered. Build is starting -or- tests failed to complete. |
|
Merged build started. Build is starting -or- tests failed to complete. |
|
Merged build finished. All automated tests passed. |
|
All automated tests passed. |
There was a problem hiding this comment.
Very minor - but it might be slightly nicer to write this using string interpolation and also just using two different print statements instead of putting a newline directly in there (since you'll get python's system-dependent line delimiter).
print "Are you sure you want to destroy the cluster %s?" % cluster_name
print "The following instances will be terminated:"
|
Made some minor comments. Overall, this seems like a great thing to have. |
|
@j-martin one other thing. Would you mind creating a brief JIRA to describe this feature? You can just create an account on the site. Many people follow our issue tracker so we try to have JIRA's for new things: |
|
I created the issue. https://issues.apache.org/jira/browse/SPARK-2166 I will also apply the recommendations to the PR shortly. |
|
@j-martin Seems like this doesn't merge cleanly. Do you mind up-merging it? |
|
This was actually a pretty tough merge since we changed the spacing around a lot in |
Will list the EC2 instances before detroying the cluster. This was added because it can be scary to destroy EC2 instances without knowing which one will be impacted. Author: Jean-Martin Archer <jeanmartin.archer@pulseenergy.com> This patch had conflicts when merged, resolved by Committer: Patrick Wendell <pwendell@gmail.com> Closes apache#270 from j-martin/master and squashes the following commits: 826455f [Jean-Martin Archer] [SPARK-2611] Implementing recommendations 27b0a36 [Jean-Martin Archer] Listing of instances to be terminated before the prompt Will list the EC2 instances before detroying the cluster. This was added because it can be scary to destroy EC2 instances without knowing which one will be impacted.
Will list the EC2 instances before detroying the cluster. This was added because it can be scary to destroy EC2 instances without knowing which one will be impacted. Author: Jean-Martin Archer <jeanmartin.archer@pulseenergy.com> This patch had conflicts when merged, resolved by Committer: Patrick Wendell <pwendell@gmail.com> Closes apache#270 from j-martin/master and squashes the following commits: 826455f [Jean-Martin Archer] [SPARK-2611] Implementing recommendations 27b0a36 [Jean-Martin Archer] Listing of instances to be terminated before the prompt Will list the EC2 instances before detroying the cluster. This was added because it can be scary to destroy EC2 instances without knowing which one will be impacted.
### What changes were proposed in this pull request? This PR aims to upgrade MariaDB Connector/J (`mariadb-java-client`) from 3.5.10 to 3.5.11. - [3.5.10](https://github.com/mariadb-corporation/mariadb-connector-j/releases/tag/3.5.10) (2026-07-29) -> [3.5.11](https://github.com/mariadb-corporation/mariadb-connector-j/releases/tag/3.5.11) (2026-10-21) - Full changelog: mariadb-corporation/mariadb-connector-j@3.5.10...3.5.11 ### Why are the changes needed? To fix the following open [Dependabot alerts](https://github.com/apache/spark/security/dependabot) against `org.mariadb.jdbc:mariadb-java-client` (affected: `>= 3.5.0, < 3.5.11`, patched: `3.5.11`): - [#267](https://github.com/apache/spark/security/dependabot/267) (medium): [CVE-2026-119281](GHSA-grfq-r75j-rw9x) Server could switch `character_set_results` away from UTF-8 without the client noticing - [#268](https://github.com/apache/spark/security/dependabot/268) (medium): [CVE-2026-119210](GHSA-fhx5-2xqw-2cgm) `LOAD DATA LOCAL INFILE` file check could be satisfied by text inside quoted identifiers, letting a malicious server read client files - [#269](https://github.com/apache/spark/security/dependabot/269) (low): [CVE-2026-119280](GHSA-4jq2-8v3c-97w8) XA `recover()` trusted server-supplied gtrid and bqual lengths - [#270](https://github.com/apache/spark/security/dependabot/270) (medium): [CVE-2026-119276](GHSA-h599-m3w5-9m7x) Rogue server can drive large heap allocations from server-declared lengths in OK packets This release also contains other bug fixes, for example CONJ-1374 (redirect URL password partially logged when containing ``) and CONJ-1345 (`DatabaseMetaData#getURL()` exposes the database password since 3.5.10). This is a patch upgrade within 3.5.x. The 4.0.0 release, which was published on the same day, is a major release that changes defaults (for example, `sslMode` defaults to `verify-full`), so it is not included here. ### Does this PR introduce _any_ user-facing change? No. The dependency is used only in the `test` scope (`sql/core` and `connector/docker-integration-tests`), and the 3.5.11 POM declares no new runtime dependencies (all of them are optional, provided, or test). ### How was this patch tested? Pass the CIs, and manually tested on JDK 21 as follows. ``` build/sbt -Pdocker-integration-tests \ 'sql/testOnly *MariaDBConnectionProviderSuite *ConnectionProviderSuite' \ 'docker-integration-tests/Test/compile' ``` - 17 tests passed, and the Docker integration test module compiles with the new version. - Confirmed that `mariadb-java-client-3.5.11.jar` is on the `sql` test classpath via `show sql/Test/dependencyClasspath`. - The Docker integration tests were not run locally. ### Was this patch authored or co-authored using generative AI tooling? Generated-by: Claude Sonnet 5.5 Closes #60104 from dongjoon-hyun/SPARK-60889. Authored-by: Dongjoon Hyun <dongjoon@apache.org> Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
Will list the EC2 instances before detroying the cluster.
This was added because it can be scary to destroy EC2
instances without knowing which one will be impacted.