You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by sz...@apache.org on 2022/11/16 08:46:50 UTC

[hive] branch master updated: HIVE-26740: HS2 makes direct connections to HMS backend DB due to Compaction/StatsUpdater (#3765) (Adam Szita, reviewed by Zhihua Deng)

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

szita 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 ccb4236bc77 HIVE-26740: HS2 makes direct connections to HMS backend DB due to Compaction/StatsUpdater (#3765) (Adam Szita, reviewed by Zhihua Deng)
ccb4236bc77 is described below

commit ccb4236bc776a08446c4dc7365a98d29dbee54bc
Author: Adam Szita <40...@users.noreply.github.com>
AuthorDate: Wed Nov 16 09:46:39 2022 +0100

    HIVE-26740: HS2 makes direct connections to HMS backend DB due to Compaction/StatsUpdater (#3765) (Adam Szita, reviewed by Zhihua Deng)
---
 ql/src/java/org/apache/hadoop/hive/ql/txn/compactor/StatsUpdater.java | 1 -
 1 file changed, 1 deletion(-)

diff --git a/ql/src/java/org/apache/hadoop/hive/ql/txn/compactor/StatsUpdater.java b/ql/src/java/org/apache/hadoop/hive/ql/txn/compactor/StatsUpdater.java
index 1c4964be3a5..ed2659ab848 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/txn/compactor/StatsUpdater.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/txn/compactor/StatsUpdater.java
@@ -74,7 +74,6 @@ public final class StatsUpdater {
             }
             sb.append(" compute statistics");
             LOG.info(ci + ": running '" + sb + "'");
-            statusUpdaterConf.setVar(HiveConf.ConfVars.METASTOREURIS, "");
             if (compactionQueueName != null && compactionQueueName.length() > 0) {
                 statusUpdaterConf.set(TezConfiguration.TEZ_QUEUE_NAME, compactionQueueName);
             }