This is an automated email from the ASF dual-hosted git repository.
jialiang pushed a commit to branch upgrade/jdk-spring-dependencies
in repository https://gitbox.apache.org/repos/asf/ambari.git
The following commit(s) were added to
refs/heads/upgrade/jdk-spring-dependencies by this push:
new bc7fce3f06 AMBARI-26268: Remove default value for ambari-java-home in
ambari-server.py to fix setup handling #3915
bc7fce3f06 is described below
commit bc7fce3f06d8108b5a20cca332a9a9f3f3661540
Author: tongxiaojun <[email protected]>
AuthorDate: Mon Dec 23 13:37:10 2024 +0800
AMBARI-26268: Remove default value for ambari-java-home in ambari-server.py
to fix setup handling #3915
Co-authored-by: tongxiaojun <[email protected]>
---
ambari-server/src/main/python/ambari-server.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ambari-server/src/main/python/ambari-server.py
b/ambari-server/src/main/python/ambari-server.py
index f2de8a3bfb..9c73f22c60 100755
--- a/ambari-server/src/main/python/ambari-server.py
+++ b/ambari-server/src/main/python/ambari-server.py
@@ -490,7 +490,7 @@ def init_setup_parser_options(parser):
other_group.add_option('-j', '--java-home', default=None,
help="Use specified java_home. Must be valid on all
hosts")
- other_group.add_option('--ambari-java-home',dest="ambari_java_home",
default=None,
+ other_group.add_option('--ambari-java-home',dest="ambari_java_home",
help="Use specified java_home for ambari. Must be
valid on Ambari server hosts")
other_group.add_option('--stack-java-home', dest="stack_java_home",
default=None,
help="Use specified java_home for stack services. Must be
valid on all hosts")
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]