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/05 08:48:00 UTC

[ambari] branch trunk updated: AMBARI-25774: Fix warn `java.nio.file.NoSuchFileException: /etc/security/clientKeys/all.jks` (#3457)

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 bf9b1d0a25 AMBARI-25774: Fix warn `java.nio.file.NoSuchFileException: /etc/security/clientKeys/all.jks` (#3457)
bf9b1d0a25 is described below

commit bf9b1d0a256485854b7ea034da2ba97a5f401589
Author: Yu Hou <52...@qq.com>
AuthorDate: Sat Nov 5 16:47:52 2022 +0800

    AMBARI-25774: Fix warn `java.nio.file.NoSuchFileException: /etc/security/clientKeys/all.jks` (#3457)
---
 .../services/HDFS/configuration/ssl-client.xml     | 38 +++++++++++++---------
 1 file changed, 23 insertions(+), 15 deletions(-)

diff --git a/ambari-server/src/main/resources/stacks/BIGTOP/3.2.0/services/HDFS/configuration/ssl-client.xml b/ambari-server/src/main/resources/stacks/BIGTOP/3.2.0/services/HDFS/configuration/ssl-client.xml
index d364497f39..18d6e07448 100644
--- a/ambari-server/src/main/resources/stacks/BIGTOP/3.2.0/services/HDFS/configuration/ssl-client.xml
+++ b/ambari-server/src/main/resources/stacks/BIGTOP/3.2.0/services/HDFS/configuration/ssl-client.xml
@@ -19,52 +19,60 @@
 <configuration>
   <property>
     <name>ssl.client.truststore.location</name>
-    <value>/etc/security/clientKeys/all.jks</value>
+    <value/>
+    <value-attributes>
+      <empty-value-valid>true</empty-value-valid>
+    </value-attributes>
     <description>Location of the trust store file.</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   <property>
     <name>ssl.client.truststore.type</name>
     <value>jks</value>
     <description>Optional. Default value is "jks".</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   <property>
     <name>ssl.client.truststore.password</name>
-    <value>bigdata</value>
+    <value/>
     <property-type>PASSWORD</property-type>
-    <description>Password to open the trust store file.</description>
     <value-attributes>
       <type>password</type>
+      <empty-value-valid>true</empty-value-valid>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <description>Password to open the trust store file.</description>
+    <on-ambari-upgrade add="false"/>
   </property>
   <property>
     <name>ssl.client.truststore.reload.interval</name>
     <value>10000</value>
     <description>Truststore reload interval, in milliseconds.</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   <property>
     <name>ssl.client.keystore.type</name>
     <value>jks</value>
     <description>Optional. Default value is "jks".</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   <property>
     <name>ssl.client.keystore.location</name>
-    <value>/etc/security/clientKeys/keystore.jks</value>
+    <value/>
+    <value-attributes>
+      <empty-value-valid>true</empty-value-valid>
+    </value-attributes>
     <description>Location of the keystore file.</description>
-    <on-ambari-upgrade add="true"/>
+    <on-ambari-upgrade add="false"/>
   </property>
   <property>
     <name>ssl.client.keystore.password</name>
-    <value>bigdata</value>
-    <property-type>PASSWORD</property-type>
-    <description>Password to open the keystore file.</description>
+    <value/>
     <value-attributes>
       <type>password</type>
+      <empty-value-valid>true</empty-value-valid>
     </value-attributes>
-    <on-ambari-upgrade add="true"/>
+    <property-type>PASSWORD</property-type>
+    <description>Password to open the keystore file.</description>
+    <on-ambari-upgrade add="false"/>
   </property>
-</configuration>
\ No newline at end of file
+</configuration>


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@ambari.apache.org
For additional commands, e-mail: commits-help@ambari.apache.org