kokila-19 opened a new pull request, #5830:
URL: https://github.com/apache/hive/pull/5830
…se is explicitly set
### What changes were proposed in this pull request?
This commit avoids appending the --verbose flag when it's not explicitly
set, preventing invalid arguments from being passed during metastore startup.
### Why are the changes needed?
When VERBOSE is not set, an empty string argument ("") is passed to the
startup command, which causes a parsing error.
### Does this PR introduce _any_ user-facing change?
No
### How was this patch tested?
**Docker commands:**
**Without Verbose:**
docker run -d -p 9083:9083 --env SERVICE_NAME=metastore --name
metastore-standalone apache/hive:${HIVE_VERSION}
**With Verbose:**
docker run -d -p 9083:9083 --env SERVICE_NAME=metastore --env VERBOSE="true"
--name metastore-standalone apache/hive:${HIVE_VERSION}
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]