This is an automated email from the ASF dual-hosted git repository.

wzhou pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/impala.git


The following commit(s) were added to refs/heads/master by this push:
     new 0c7f15e8b IMPALA-12248: Add three configuration properties after 
RANGER-2895
0c7f15e8b is described below

commit 0c7f15e8b0d1c9b87a56a878f8b402b5f4e22cfb
Author: Fang-Yu Rao <[email protected]>
AuthorDate: Tue Jun 27 15:41:04 2023 -0700

    IMPALA-12248: Add three configuration properties after RANGER-2895
    
    This patch adds 3 Ranger configuration properties that will be required
    after we start using a build that includes RANGER-2895 so that Ranger's
    HTTP server could be properly started.
    
    On the other hand, recall that a Ranger configuration property was
    deprecated in RANGER-2895, i.e.,
    ranger.jpa.jdbc.idleconnectiontestperiod. Hence, we should also remove
    it when starting using a build that contains RANGER-2895. This task will
    be tracked by IMPALA-12250.
    
    Testing:
     - Verified that with this patch Ranger's HTTP server could be started
       and that we will be able to update the users, groups, and policies on
       the Ranger server with the current scripts in the Impala repository
       whether or not we are using a build that has RANGER-2895.
    
    Change-Id: I19a27e3fe3ab96a9f60566dc2c87bd72636b91ae
    Reviewed-on: http://gerrit.cloudera.org:8080/20129
    Reviewed-by: Impala Public Jenkins <[email protected]>
    Tested-by: Impala Public Jenkins <[email protected]>
---
 .../ranger/ranger-admin-default-site.xml.template      | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/testdata/cluster/ranger/ranger-admin-default-site.xml.template 
b/testdata/cluster/ranger/ranger-admin-default-site.xml.template
index 4a1ed614b..0411f4fee 100644
--- a/testdata/cluster/ranger/ranger-admin-default-site.xml.template
+++ b/testdata/cluster/ranger/ranger-admin-default-site.xml.template
@@ -313,6 +313,24 @@
     <description/>
   </property>
 
+  <property>
+    <name>ranger.jpa.jdbc.idletimeout</name>
+    <value>300000</value>
+    <description/>
+  </property>
+
+  <property>
+    <name>ranger.jpa.jdbc.maxlifetime</name>
+    <value>1800000</value>
+    <description/>
+  </property>
+
+  <property>
+    <name>ranger.jpa.jdbc.connectiontimeout</name>
+    <value>30000</value>
+    <description/>
+  </property>
+
   <property>
     <name>ranger.jpa.jdbc.maxstatements</name>
     <value>500</value>

Reply via email to