Skip to content

[#11335] setting web v2 ui as default - #11458

Merged
mchades merged 3 commits into
apache:mainfrom
LauraXia123:issue-11335-use-v2
Jun 5, 2026
Merged

[#11335] setting web v2 ui as default#11458
mchades merged 3 commits into
apache:mainfrom
LauraXia123:issue-11335-use-v2

Conversation

@LauraXia123

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

  1. set GRAVITINO_USE_WEB_V2=${GRAVITINO_USE_WEB_V2:-true}
  2. update comment
image

Why are the changes needed?

N/A

Fix: #11335

Does this PR introduce any user-facing change?

N/A

How was this patch tested?

manually

Copilot AI review requested due to automatic review settings June 5, 2026 10:09

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.

Pull request overview

This PR updates Gravitino’s startup environment/templates so Web UI v2 becomes the default when GRAVITINO_USE_WEB_V2 is not explicitly set, aligning with issue #11335.

Changes:

  • Default GRAVITINO_USE_WEB_V2 to true in conf/gravitino-env.sh.template.
  • Update bin/gravitino.sh.template UI WAR selection logic to prefer v2 when GRAVITINO_USE_WEB_V2 is unset.
  • Refresh related inline comments to reflect the new default behavior.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated 2 comments.

File Description
conf/gravitino-env.sh.template Sets GRAVITINO_USE_WEB_V2 default to true via env var expansion and updates UI-selection comments.
bin/gravitino.sh.template Changes WAR selection logic to prefer the v2 UI by default and updates explanatory comments.

Comment thread conf/gravitino-env.sh.template Outdated
Comment thread conf/gravitino-env.sh.template Outdated
Comment on lines +36 to +39
# - Default to the v2 UI when GRAVITINO_USE_WEB_V2 is unset.
# - If GRAVITINO_USE_WEB_V2 is already provided by container/k8s env, keep that value.
# - To force the v1 UI, set GRAVITINO_USE_WEB_V2=false.
export GRAVITINO_USE_WEB_V2=${GRAVITINO_USE_WEB_V2:-true} No newline at end of file
LauraXia123 and others added 2 commits June 5, 2026 18:28
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@github-actions

github-actions Bot commented Jun 5, 2026

Copy link
Copy Markdown

Code Coverage Report

Overall Project 66.93% 🟢
Files changed No Java source files changed -

Module Coverage
aliyun 1.72% 🔴
api 46.8% 🟢
authorization-common 85.96% 🟢
aws 3.66% 🔴
azure 2.47% 🔴
catalog-common 10.04% 🔴
catalog-fileset 80.35% 🟢
catalog-glue 66.67% 🟢
catalog-hive 79.35% 🟢
catalog-jdbc-clickhouse 80.02% 🟢
catalog-jdbc-common 45.31% 🟢
catalog-jdbc-doris 80.28% 🟢
catalog-jdbc-hologres 54.03% 🟢
catalog-jdbc-mysql 79.23% 🟢
catalog-jdbc-oceanbase 78.38% 🟢
catalog-jdbc-postgresql 82.29% 🟢
catalog-jdbc-starrocks 78.51% 🟢
catalog-kafka 77.01% 🟢
catalog-lakehouse-generic 44.89% 🟢
catalog-lakehouse-hudi 79.1% 🟢
catalog-lakehouse-iceberg 85.66% 🟢
catalog-lakehouse-paimon 79.29% 🟢
catalog-model 77.72% 🟢
cli 44.51% 🟢
client-java 77.91% 🟢
common 50.17% 🟢
core 82.49% 🟢
filesystem-hadoop3 76.97% 🟢
flink 0.0% 🔴
flink-common 46.09% 🟢
flink-runtime 0.0% 🔴
gcp 14.12% 🔴
hadoop-common 10.39% 🔴
hive-metastore-common 53.42% 🟢
iceberg-common 56.54% 🟢
iceberg-rest-server 73.5% 🟢
idp-basic 85.99% 🟢
integration-test-common 0.0% 🔴
jobs 66.17% 🟢
lance-common 20.83% 🔴
lance-rest-server 60.27% 🟢
lineage 53.02% 🟢
optimizer 82.87% 🟢
optimizer-api 21.95% 🔴
server 85.73% 🟢
server-common 73.28% 🟢
spark 29.85% 🔴
spark-common 41.01% 🟢
trino-connector 39.97% 🔴

@mchades mchades added the branch-1.3 Automatically cherry-pick commit to branch-1.3 label Jun 5, 2026
@mchades
mchades merged commit 903070e into apache:main Jun 5, 2026
33 checks passed
yuqi1129 pushed a commit that referenced this pull request Jun 6, 2026
…1458) (#11465)

**Cherry-pick Information:**
- Original commit: 903070e
- Target branch: `branch-1.3`
- Status: ✅ Clean cherry-pick (no conflicts)

Co-authored-by: Qian Xia <qian@datastrato.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
danhuawang pushed a commit to danhuawang/gravitino that referenced this pull request Jun 8, 2026
### What changes were proposed in this pull request?

1. set `GRAVITINO_USE_WEB_V2=${GRAVITINO_USE_WEB_V2:-true}`
2. update comment

<img width="2684" height="1384" alt="image"
src="https://github.com/user-attachments/assets/a3234612-d0a2-4120-8c36-d215a0c35765"
/>

### Why are the changes needed?
N/A

Fix: apache#11335

### Does this PR introduce _any_ user-facing change?
N/A

### How was this patch tested?
manually

---------

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
danhuawang pushed a commit to danhuawang/gravitino that referenced this pull request Jun 9, 2026
### What changes were proposed in this pull request?

1. set `GRAVITINO_USE_WEB_V2=${GRAVITINO_USE_WEB_V2:-true}`
2. update comment

<img width="2684" height="1384" alt="image"
src="https://github.com/user-attachments/assets/a3234612-d0a2-4120-8c36-d215a0c35765"
/>

### Why are the changes needed?
N/A

Fix: apache#11335

### Does this PR introduce _any_ user-facing change?
N/A

### How was this patch tested?
manually

---------

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

branch-1.3 Automatically cherry-pick commit to branch-1.3

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Improvement] Setting web v2 UI as default

3 participants