okumin commented on PR #5830:
URL: https://github.com/apache/hive/pull/5830#issuecomment-2922128296
I successfully reproduced the issue on the master branch.
```sh
% docker run --rm -p 9083:9083 --env SERVICE_NAME=metastore --name
metastore-standalone apache/hive:4.1.0-SNAPSHOT
...
% docker run --rm --env SERVICE_NAME=metastore --name metastore-standalone
apache/hive:4.1.0-SNAPSHOT
...
This usage has been deprecated, consider using the new command line syntax
(run with -h to see usage information)
Exception in thread "main" java.lang.NumberFormatException: For input
string: ""
at
java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Integer.parseInt(Integer.java:592)
at java.lang.Integer.parseInt(Integer.java:615)
at
org.apache.hadoop.hive.metastore.HiveMetastoreCli.parse(HiveMetastoreCli.java:59)
at
org.apache.hadoop.hive.metastore.HiveMetaStore.main(HiveMetaStore.java:241)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.hadoop.util.RunJar.run(RunJar.java:330)
at org.apache.hadoop.util.RunJar.main(RunJar.java:245)
```
HiveServer2 is okay.
```sh
% docker run --rm --env SERVICE_NAME=hiveserver2 --name hiveserver2
apache/hive:4.1.0-SNAPSHOT
```
Next, I will test the patch.
--
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]