jerryshao commented on code in PR #9759:
URL: https://github.com/apache/gravitino/pull/9759#discussion_r2758250597
##########
bin/gravitino.sh.template:
##########
@@ -181,6 +181,31 @@ fi
addJarInDir "${GRAVITINO_HOME}/libs"
+# By default, prefer starting the legacy (old) UI war if present.
+# Users may override by setting GRAVITINO_WAR to an explicit path, or
+# set GRAVITINO_USE_WEB_V2=true to prefer the new war when both exist.
+if [[ -z "${GRAVITINO_WAR+x}" || -z "${GRAVITINO_WAR}" ]]; then
+ # Compose expected war paths based on packaged layout and version
+ WAR_V1_PATH="${GRAVITINO_HOME}/web/gravitino-web-v1.war"
Review Comment:
Why the v1 war package doesn't have the "version" in its path?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]