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

ayushsaxena 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 12f7d5ea894 HIVE-27431: Clean invalid properties in test module 
(#4408). (zhangbutao,  reviewed by Denys Kuzmenko, Ayush Saxena)
12f7d5ea894 is described below

commit 12f7d5ea8941383e4ba73205919312a44133cbf5
Author: Butao Zhang <[email protected]>
AuthorDate: Wed Aug 23 23:07:16 2023 +0800

    HIVE-27431: Clean invalid properties in test module (#4408). (zhangbutao,  
reviewed by Denys Kuzmenko, Ayush Saxena)
---
 data/conf/hive-site-old.xml                        |  8 ----
 data/conf/hive-site.xml                            | 56 ----------------------
 data/conf/iceberg/llap/hive-site.xml               |  8 ----
 data/conf/iceberg/tez/hive-site.xml                |  8 ----
 data/conf/llap/hive-site.xml                       | 20 --------
 data/conf/rlist/hive-site.xml                      | 48 -------------------
 data/conf/tez/hive-site.xml                        |  8 ----
 .../src/test/resources/hive-site.xml               | 13 -----
 8 files changed, 169 deletions(-)

diff --git a/data/conf/hive-site-old.xml b/data/conf/hive-site-old.xml
index 4e6ff161358..33c4f29306b 100644
--- a/data/conf/hive-site-old.xml
+++ b/data/conf/hive-site-old.xml
@@ -80,14 +80,6 @@
   <description></description>
 </property>
 
-<property>
-  <name>hive.metastore.metadb.dir</name>
-  <value>file://${build.dir}/test/data/metadb/</value>
-  <description>
-  Required by metastore server or if the uris argument below is not supplied
-  </description>
-</property>
-
 <property>
   <name>test.log.dir</name>
   <value>${build.dir}/test/logs</value>
diff --git a/data/conf/hive-site.xml b/data/conf/hive-site.xml
index e8a3798749e..b4ef1479a53 100644
--- a/data/conf/hive-site.xml
+++ b/data/conf/hive-site.xml
@@ -19,24 +19,12 @@
 
 <configuration>
 
-  <property>
-    <name>hive.metastore.client.cache.maxSize</name>
-    <value>10Mb</value>
-    <description>Max size for hive metastore client local cache</description>
-  </property>
-
   <property>
     <name>hive.metastore.client.cache.enabled</name>
     <value>true</value>
     <description>This property enables a Caffeiene Cache for Metastore 
client</description>
   </property>
 
-  <property>
-    <name>hive.metastore.client.cache.recordStats</name>
-    <value>true</value>
-    <description>This property enables recording metastore client cache stats 
in DEBUG logs</description>
-  </property>
-
 <property>
   <name>hive.in.test</name>
   <value>true</value>
@@ -124,14 +112,6 @@
   <description></description>
 </property>
 
-<property>
-  <name>hive.metastore.metadb.dir</name>
-  <value>file://${test.tmp.dir}/metadb/</value>
-  <description>
-  Required by metastore server or if the uris argument below is not supplied
-  </description>
-</property>
-
 <property>
   <name>test.log.dir</name>
   <value>${test.tmp.dir}/log/</value>
@@ -226,16 +206,6 @@
   <description>Whether Hive ignores the mapjoin hint</description>
 </property>
 
-<property>
-  <name>hive.mapjoin.max.gc.time.percentage</name>
-  <value>0.99</value>
-  <description>
-  Maximum percentage of wallclock time that the JVM can spend in GC.
-  If this limit is exceeded, the local task will abort by itself.
-  Tests may run in very stressed environment, so this number is set very high 
to avoid false negatives.
-  </description>
-</property>
-
 <property>
   <name>hive.input.format</name>
   <value>org.apache.hadoop.hive.ql.io.CombineHiveInputFormat</value>
@@ -248,11 +218,6 @@
   <description>The default SerDe hive will use for the rcfile 
format</description>
 </property>
 
-<property>
-  <name>hive.stats.key.prefix.reserve.length</name>
-  <value>0</value>
-</property>
-
 <property>
   <name>hive.conf.restricted.list</name>
   <value>dummy.config.value</value>
@@ -310,27 +275,6 @@
   <description>The Hive client authorization manager class name.</description>
 </property>
 
-<property>
-  <name>hive.llap.io.cache.orc.size</name>
-  <value>8388608</value>
-</property>
-
-<property>
-  <name>hive.llap.io.cache.orc.arena.size</name>
-  <value>8388608</value>
-</property>
-
-<property>
-  <name>hive.llap.io.cache.orc.alloc.max</name>
-  <value>2097152</value>
-</property>
-
-
-<property>
-  <name>hive.llap.io.cache.orc.alloc.min</name>
-  <value>32768</value>
-</property>
-
 <property>
   <name>hive.llap.cache.allow.synthetic.fileid</name>
   <value>true</value>
diff --git a/data/conf/iceberg/llap/hive-site.xml 
b/data/conf/iceberg/llap/hive-site.xml
index b01bd8e9f05..57982980abf 100644
--- a/data/conf/iceberg/llap/hive-site.xml
+++ b/data/conf/iceberg/llap/hive-site.xml
@@ -110,14 +110,6 @@
         <description></description>
     </property>
 
-    <property>
-        <name>hive.metastore.metadb.dir</name>
-        <value>file://${test.tmp.dir}/metadb/</value>
-        <description>
-            Required by metastore server or if the uris argument below is not 
supplied
-        </description>
-    </property>
-
     <property>
         <name>test.log.dir</name>
         <value>${test.tmp.dir}/log/</value>
diff --git a/data/conf/iceberg/tez/hive-site.xml 
b/data/conf/iceberg/tez/hive-site.xml
index 3154477563e..0dc31fed5ed 100644
--- a/data/conf/iceberg/tez/hive-site.xml
+++ b/data/conf/iceberg/tez/hive-site.xml
@@ -110,14 +110,6 @@
   <description></description>
 </property>
 
-<property>
-  <name>hive.metastore.metadb.dir</name>
-  <value>file://${test.tmp.dir}/metadb/</value>
-  <description>
-  Required by metastore server or if the uris argument below is not supplied
-  </description>
-</property>
-
 <property>
   <name>test.log.dir</name>
   <value>${test.tmp.dir}/log/</value>
diff --git a/data/conf/llap/hive-site.xml b/data/conf/llap/hive-site.xml
index dbd5d28042b..27609b7a2be 100644
--- a/data/conf/llap/hive-site.xml
+++ b/data/conf/llap/hive-site.xml
@@ -19,24 +19,12 @@
 
 <configuration>
 
-  <property>
-    <name>hive.metastore.client.cache.maxSize</name>
-    <value>10Mb</value>
-    <description>Max size for hive metastore client local cache</description>
-  </property>
-
   <property>
     <name>hive.metastore.client.cache.enabled</name>
     <value>true</value>
     <description>This property enables a Caffeiene Cache for Metastore 
client</description>
   </property>
 
-  <property>
-    <name>hive.metastore.client.cache.recordStats</name>
-    <value>true</value>
-    <description>This property enables recording metastore client cache stats 
in DEBUG logs</description>
-  </property>
-
 <property>
   <name>hive.in.test</name>
   <value>true</value>
@@ -134,14 +122,6 @@
   <description></description>
 </property>
 
-<property>
-  <name>hive.metastore.metadb.dir</name>
-  <value>file://${test.tmp.dir}/metadb/</value>
-  <description>
-  Required by metastore server or if the uris argument below is not supplied
-  </description>
-</property>
-
 <property>
   <name>test.log.dir</name>
   <value>${test.tmp.dir}/log/</value>
diff --git a/data/conf/rlist/hive-site.xml b/data/conf/rlist/hive-site.xml
index 78159df922d..9768b759fb3 100644
--- a/data/conf/rlist/hive-site.xml
+++ b/data/conf/rlist/hive-site.xml
@@ -18,25 +18,12 @@
 -->
 
 <configuration>
-
-  <property>
-    <name>hive.metastore.client.cache.maxSize</name>
-    <value>10Mb</value>
-    <description>Max size for hive metastore client local cache</description>
-  </property>
-
   <property>
     <name>hive.metastore.client.cache.enabled</name>
     <value>true</value>
     <description>This property enables a Caffeiene Cache for Metastore 
client</description>
   </property>
 
-  <property>
-    <name>hive.metastore.client.cache.recordStats</name>
-    <value>true</value>
-    <description>This property enables recording metastore client cache stats 
in DEBUG logs</description>
-  </property>
-
 <property>
   <name>hive.in.test</name>
   <value>true</value>
@@ -118,14 +105,6 @@
   <description></description>
 </property>
 
-<property>
-  <name>hive.metastore.metadb.dir</name>
-  <value>file://${test.tmp.dir}/metadb/</value>
-  <description>
-  Required by metastore server or if the uris argument below is not supplied
-  </description>
-</property>
-
 <property>
   <name>test.log.dir</name>
   <value>${test.tmp.dir}/log/</value>
@@ -232,17 +211,11 @@
   <description>The default SerDe hive will use for the rcfile 
format</description>
 </property>
 
-<property>
-  <name>hive.stats.key.prefix.reserve.length</name>
-  <value>0</value>
-</property>
-
 <property>
   <name>hive.exec.submit.local.task.via.child</name>
   <value>false</value>
 </property>
 
-
 <property>
   <name>hive.dummyparam.test.server.specific.config.override</name>
   <value>from.hive-site.xml</value>
@@ -288,27 +261,6 @@
   <description>The Hive client authorization manager class name.</description>
 </property>
 
-<property>
-  <name>hive.llap.io.cache.orc.size</name>
-  <value>8388608</value>
-</property>
-
-<property>
-  <name>hive.llap.io.cache.orc.arena.size</name>
-  <value>8388608</value>
-</property>
-
-<property>
-  <name>hive.llap.io.cache.orc.alloc.max</name>
-  <value>2097152</value>
-</property>
-
-
-<property>
-  <name>hive.llap.io.cache.orc.alloc.min</name>
-  <value>32768</value>
-</property>
-
 <property>
   <name>hive.llap.cache.allow.synthetic.fileid</name>
   <value>true</value>
diff --git a/data/conf/tez/hive-site.xml b/data/conf/tez/hive-site.xml
index 0c4de1466b0..384bc7ee4b4 100644
--- a/data/conf/tez/hive-site.xml
+++ b/data/conf/tez/hive-site.xml
@@ -110,14 +110,6 @@
   <description></description>
 </property>
 
-<property>
-  <name>hive.metastore.metadb.dir</name>
-  <value>file://${test.tmp.dir}/metadb/</value>
-  <description>
-  Required by metastore server or if the uris argument below is not supplied
-  </description>
-</property>
-
 <property>
   <name>test.log.dir</name>
   <value>${test.tmp.dir}/log/</value>
diff --git a/itests/hive-blobstore/src/test/resources/hive-site.xml 
b/itests/hive-blobstore/src/test/resources/hive-site.xml
index 42693dbe84c..59e9927643d 100644
--- a/itests/hive-blobstore/src/test/resources/hive-site.xml
+++ b/itests/hive-blobstore/src/test/resources/hive-site.xml
@@ -110,14 +110,6 @@
     <description></description>
   </property>
 
-  <property>
-    <name>hive.metastore.metadb.dir</name>
-    <value>file://${test.tmp.dir}/metadb/</value>
-    <description>
-      Required by metastore server or if the uris argument below is not 
supplied
-    </description>
-  </property>
-
   <property>
     <name>test.log.dir</name>
     <value>${test.tmp.dir}/log/</value>
@@ -223,11 +215,6 @@
     <description>The default SerDe hive will use for the rcfile 
format</description>
   </property>
 
-  <property>
-    <name>hive.stats.key.prefix.reserve.length</name>
-    <value>0</value>
-  </property>
-
   <property>
     <name>hive.conf.restricted.list</name>
     <value>dummy.config.value</value>

Reply via email to