Skip to content

HIVE-30009: Do not ship bundled TLS keystore in standalone server - #6810

Open
dengzhhu653 wants to merge 1 commit into
apache:masterfrom
dengzhhu653:HIVE-30009
Open

dengzhhu653 wants to merge 1 commit into
apache:masterfrom
dengzhhu653:HIVE-30009

Conversation

@dengzhhu653

Copy link
Copy Markdown
Member

What changes were proposed in this pull request?

Why are the changes needed?

Does this PR introduce any user-facing change?

How was this patch tested?

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

One or more issues must be addressed before approval.

Get a fresh assessment by requesting another Copilot review.

Review effort: Lite
Findings: 1 High severity · 1 Medium severity · 1 Low severity

Open (3)
What changed in this PR

Disables bundled TLS by default and requires operator-managed keystores when TLS is enabled.

Changes:

  • Disables SSL in application.yml.
  • Adds keystore location validation.
  • Configures HTTPS integration tests with a test keystore.
File Description
standalone-metastore/​metastore-rest-catalog/​src/​main/​resources/​application.yml Updated as part of this pull request.
standalone-metastore/​metastore-rest-catalog/​src/​main/​java/​org/​apache/​iceberg/​rest/​standalone/​SslConfigurationValidator.java Updated as part of this pull request.
itests/​qtest-iceberg/​src/​test/​resources/​keystore.p12 Updated as part of this pull request.
itests/​qtest-iceberg/​src/​test/​java/​org/​apache/​hadoop/​hive/​cli/​BaseStandaloneRESTCatalogServerTest.java Updated as part of this pull request.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@sonarqubecloud

Copy link
Copy Markdown

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants