You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by wu...@apache.org on 2022/11/19 16:33:55 UTC
[ambari] branch trunk updated: AMBARI-25500: Hive Service Check Fails if the trustStorePassword has Special character $ (#3530)
This is an automated email from the ASF dual-hosted git repository.
wuzhiguo pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git
The following commit(s) were added to refs/heads/trunk by this push:
new c787037e67 AMBARI-25500: Hive Service Check Fails if the trustStorePassword has Special character $ (#3530)
c787037e67 is described below
commit c787037e67a6eeb0ddeebf8204fbfd37dae5b8e4
Author: Yu Hou <52...@qq.com>
AuthorDate: Sun Nov 20 00:33:47 2022 +0800
AMBARI-25500: Hive Service Check Fails if the trustStorePassword has Special character $ (#3530)
---
.../main/python/resource_management/libraries/functions/hive_check.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ambari-common/src/main/python/resource_management/libraries/functions/hive_check.py b/ambari-common/src/main/python/resource_management/libraries/functions/hive_check.py
index 398a93281c..173e87cffb 100644
--- a/ambari-common/src/main/python/resource_management/libraries/functions/hive_check.py
+++ b/ambari-common/src/main/python/resource_management/libraries/functions/hive_check.py
@@ -68,7 +68,7 @@ def check_thrift_port_sasl(address, port, hive_auth="NOSASL", key=None, kinitcmd
# append url according to ssl configuration
if ssl and ssl_keystore is not None and ssl_password is not None:
- beeline_url.extend(['ssl={ssl_str}', 'sslTrustStore={ssl_keystore}', 'trustStorePassword={ssl_password!p}'])
+ beeline_url.extend(['ssl={ssl_str}', 'sslTrustStore={ssl_keystore}', "trustStorePassword='{ssl_password!p}'"])
# append url according to principal and execute kinit
if kinitcmd and hive_auth != "LDAP":
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@ambari.apache.org
For additional commands, e-mail: commits-help@ambari.apache.org