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

abstractdog 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 dabf39fb72e HIVE-26445: Use tez.local.mode.without.network for qtests 
(#5078) (Laszlo Bodor reviewed by Ayush Saxena)
dabf39fb72e is described below

commit dabf39fb72e6f4e826d97084f37b28a004e2538e
Author: Bodor Laszlo <[email protected]>
AuthorDate: Mon Feb 12 09:51:11 2024 +0100

    HIVE-26445: Use tez.local.mode.without.network for qtests (#5078) (Laszlo 
Bodor reviewed by Ayush Saxena)
---
 .../src/test/java/org/apache/iceberg/mr/hive/TestHiveShell.java        | 3 +--
 .../0.23/src/main/java/org/apache/hadoop/hive/shims/Hadoop23Shims.java | 3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git 
a/iceberg/iceberg-handler/src/test/java/org/apache/iceberg/mr/hive/TestHiveShell.java
 
b/iceberg/iceberg-handler/src/test/java/org/apache/iceberg/mr/hive/TestHiveShell.java
index 8d2a9a294c7..29941f809d0 100644
--- 
a/iceberg/iceberg-handler/src/test/java/org/apache/iceberg/mr/hive/TestHiveShell.java
+++ 
b/iceberg/iceberg-handler/src/test/java/org/apache/iceberg/mr/hive/TestHiveShell.java
@@ -209,8 +209,7 @@ public class TestHiveShell {
 
     // Tez configuration
     hiveConf.setBoolean("tez.local.mode", true);
-    // TODO: enable below option once HIVE-26445 is investigated
-    // hiveConf.setBoolean("tez.local.mode.without.network", true);
+    hiveConf.setBoolean("tez.local.mode.without.network", true);
 
     // Disable vectorization for HiveIcebergInputFormat
     hiveConf.setBoolVar(HiveConf.ConfVars.HIVE_VECTORIZATION_ENABLED, false);
diff --git 
a/shims/0.23/src/main/java/org/apache/hadoop/hive/shims/Hadoop23Shims.java 
b/shims/0.23/src/main/java/org/apache/hadoop/hive/shims/Hadoop23Shims.java
index 0437417e4b4..d4d6235d832 100644
--- a/shims/0.23/src/main/java/org/apache/hadoop/hive/shims/Hadoop23Shims.java
+++ b/shims/0.23/src/main/java/org/apache/hadoop/hive/shims/Hadoop23Shims.java
@@ -367,8 +367,7 @@ public class Hadoop23Shims extends HadoopShimsSecure {
     @Override
     public void setupConfiguration(Configuration conf) {
       conf.setBoolean(TezConfiguration.TEZ_LOCAL_MODE, true);
-      // TODO: enable below option once HIVE-26445 is investigated
-      // hiveConf.setBoolean("tez.local.mode.without.network", true);
+      conf.setBoolean("tez.local.mode.without.network", true);
       
conf.setBoolean(TezRuntimeConfiguration.TEZ_RUNTIME_OPTIMIZE_LOCAL_FETCH, true);
 
       conf.setBoolean(TezConfiguration.TEZ_IGNORE_LIB_URIS, true);

Reply via email to