Skip to content

[AMORO-4457][AMS] Replace embedded Derby with H2 - #4458

Open
xxubai wants to merge 2 commits into
apache:masterfrom
xxubai:improvement/replace-ams-derby-with-h2
Open

xxubai wants to merge 2 commits into
apache:masterfrom
xxubai:improvement/replace-ams-derby-with-h2

Conversation

@xxubai

@xxubai xxubai commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Why are the changes needed?

Close #4457.

Derby is retired. Replace it with H2 as the AMS embedded database for local development and tests.

Brief change log

  • Replace AMS Derby with H2, including schema, SQL dialect and persistence/HA tests.
  • Update defaults, packaging, Helm and docs. Keep Hive/Spark dependencies unchanged.

How was this patch tested?

  • Add positive and negative persistence tests.
  • Run tests locally with Java 11: full AMS regression (1,223 cases, 19 skipped) before rebase; 164 targeted cases after rebase.
  • HA 6 cases, Helm 87 cases, distribution startup/login/restart-session smoke test and dependency manifest checks.
  • Frontend build was skipped; backend tests used temporary static resources. Screenshots are not applicable.

Documentation

  • New feature: yes.
  • Updated deployment/configuration guides and CONTRIBUTING. Existing Derby data requires manual migration.
@xxubai
xxubai force-pushed the improvement/replace-ams-derby-with-h2 branch from d1e7a73 to ccff920 Compare October 21, 2026 08:48
@xxubai
xxubai force-pushed the improvement/replace-ams-derby-with-h2 branch from ccff920 to cb2697e Compare October 21, 2026 08:51
@github-actions github-actions Bot added type:docs Improvements or additions to documentation module:ams-server Ams server module type:infra type:build labels Oct 21, 2026

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

Labels

module:ams-server Ams server module type:build type:docs Improvements or additions to documentation type:infra

1 participant