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

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


The following commit(s) were added to refs/heads/master by this push:
     new 48a67a4f2cc HIVE-28565: Reduce lock.sleep.duration.between.retries for 
tests (Stamatis Zampetakis reviewed by Simhadri Govindappa)
48a67a4f2cc is described below

commit 48a67a4f2cc7a65bf9aac4a1ed518958c5b00027
Author: Stamatis Zampetakis <zabe...@gmail.com>
AuthorDate: Wed Oct 9 11:55:39 2024 +0200

    HIVE-28565: Reduce lock.sleep.duration.between.retries for tests (Stamatis 
Zampetakis reviewed by Simhadri Govindappa)
    
    Fail fast when there is problem to obtain a lock saving resources and 
providing quick feedback to the developpers.
    
    Close apache/hive#5495
---
 conf/hive-site.xml                         | 4 ++++
 data/conf/hivemetastore-site.xml           | 5 +++++
 data/conf/iceberg/llap/hive-site.xml       | 4 ++++
 data/conf/iceberg/tez/hive-site.xml        | 4 ++++
 data/conf/llap/hive-site.xml               | 4 ++++
 data/conf/llap/hivemetastore-site.xml      | 5 +++++
 data/conf/perf/tpcds30tb/tez/hive-site.xml | 4 ++++
 data/conf/rlist/hivemetastore-site.xml     | 5 +++++
 data/conf/tez/hive-site.xml                | 5 +++++
 9 files changed, 40 insertions(+)

diff --git a/conf/hive-site.xml b/conf/hive-site.xml
index dab494e4bdc..01082d9c6aa 100644
--- a/conf/hive-site.xml
+++ b/conf/hive-site.xml
@@ -19,4 +19,8 @@
 
 <configuration>
 
+  <property>
+    <name>hive.lock.sleep.between.retries</name>
+    <value>2</value>
+  </property>
 </configuration>
diff --git a/data/conf/hivemetastore-site.xml b/data/conf/hivemetastore-site.xml
index 516571ef87f..e64fddf264f 100644
--- a/data/conf/hivemetastore-site.xml
+++ b/data/conf/hivemetastore-site.xml
@@ -43,4 +43,9 @@
   <value>  </value>
 </property>
 
+<property>
+  <name>metastore.lock.sleep.between.retries</name>
+  <value>2</value>
+</property>
+  
 </configuration>
diff --git a/data/conf/iceberg/llap/hive-site.xml 
b/data/conf/iceberg/llap/hive-site.xml
index a4bdb6266b5..e6dedf966e7 100644
--- a/data/conf/iceberg/llap/hive-site.xml
+++ b/data/conf/iceberg/llap/hive-site.xml
@@ -392,4 +392,8 @@
         <value>false</value>
     </property>
 
+    <property>
+        <name>hive.lock.sleep.between.retries</name>
+        <value>2</value>
+    </property>
 </configuration>
diff --git a/data/conf/iceberg/tez/hive-site.xml 
b/data/conf/iceberg/tez/hive-site.xml
index 19984c7ca50..2fda519cad9 100644
--- a/data/conf/iceberg/tez/hive-site.xml
+++ b/data/conf/iceberg/tez/hive-site.xml
@@ -315,4 +315,8 @@
   <name>hive.txn.xlock.ctas</name>
   <value>false</value>
 </property>
+<property>
+  <name>hive.lock.sleep.between.retries</name>
+  <value>2</value>
+</property>
 </configuration>
diff --git a/data/conf/llap/hive-site.xml b/data/conf/llap/hive-site.xml
index 4f5aedca77d..2cf2882b6ef 100644
--- a/data/conf/llap/hive-site.xml
+++ b/data/conf/llap/hive-site.xml
@@ -398,4 +398,8 @@
   <value>false</value>
 </property>
 
+<property>
+  <name>hive.lock.sleep.between.retries</name>
+  <value>2</value>
+</property>
 </configuration>
diff --git a/data/conf/llap/hivemetastore-site.xml 
b/data/conf/llap/hivemetastore-site.xml
index 412ddd2fc0a..0c682b56caf 100644
--- a/data/conf/llap/hivemetastore-site.xml
+++ b/data/conf/llap/hivemetastore-site.xml
@@ -24,4 +24,9 @@
   <value> </value>
 </property>
 
+<property>
+  <name>metastore.lock.sleep.between.retries</name>
+  <value>2</value>
+</property>
+
 </configuration>
diff --git a/data/conf/perf/tpcds30tb/tez/hive-site.xml 
b/data/conf/perf/tpcds30tb/tez/hive-site.xml
index 6b3d7d78b06..a8d81e33c38 100644
--- a/data/conf/perf/tpcds30tb/tez/hive-site.xml
+++ b/data/conf/perf/tpcds30tb/tez/hive-site.xml
@@ -211,4 +211,8 @@
         <name>hive.explain.user</name>
         <value>false</value>
     </property>
+    <property>
+        <name>hive.lock.sleep.between.retries</name>
+        <value>2</value>
+    </property>
 </configuration>
\ No newline at end of file
diff --git a/data/conf/rlist/hivemetastore-site.xml 
b/data/conf/rlist/hivemetastore-site.xml
index d1a5a288d04..8fdddff1a17 100644
--- a/data/conf/rlist/hivemetastore-site.xml
+++ b/data/conf/rlist/hivemetastore-site.xml
@@ -32,4 +32,9 @@
   <description>Using dummy param to test server specific 
configuration</description>
 </property>
 
+<property>
+  <name>metastore.lock.sleep.between.retries</name>
+  <value>2</value>
+</property>
+
 </configuration>
diff --git a/data/conf/tez/hive-site.xml b/data/conf/tez/hive-site.xml
index 6c969616a72..7ee04166708 100644
--- a/data/conf/tez/hive-site.xml
+++ b/data/conf/tez/hive-site.xml
@@ -164,6 +164,11 @@
   <description>Whether hive supports concurrency or not. A zookeeper instance 
must be up and running for the default hive lock manager to support read-write 
locks.</description>
 </property>
 
+<property>
+  <name>hive.lock.sleep.between.retries</name>
+  <value>2</value>
+</property>
+
 <property>
   <name>fs.pfile.impl</name>
   <value>org.apache.hadoop.fs.ProxyLocalFileSystem</value>

Reply via email to