jerryshao commented on code in PR #8398:
URL: https://github.com/apache/gravitino/pull/8398#discussion_r2317662774
##########
server/src/main/java/org/apache/gravitino/server/GravitinoServer.java:
##########
@@ -198,7 +198,14 @@ public void stop() throws IOException {
public static void main(String[] args) {
LOG.info("Starting Gravitino Server");
- String confPath = System.getenv("GRAVITINO_TEST") == null ? "" : args[0];
+ String confPath = "";
+ if (System.getenv("GRAVITINO_TEST") != null) {
+ if (args.length < 1) {
+ LOG.error("Missing argument for GRAVITINO_TEST conf path.");
Review Comment:
The log message is not correct, this is not for GRAVITINO_TEST.
--
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]