You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by ha...@apache.org on 2018/07/18 20:51:50 UTC

hive git commit: HIVE-20172 : StatsUpdater failed with GSS Exception while trying to connect to remote metastore (Rajkumar Singh via Ashutosh Chauhan)

Repository: hive
Updated Branches:
  refs/heads/master bac1d98c5 -> da1f758e3


HIVE-20172 : StatsUpdater failed with GSS Exception while trying to connect to remote metastore (Rajkumar Singh via Ashutosh Chauhan)

Signed-off-by: Ashutosh Chauhan <ha...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/da1f758e
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/da1f758e
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/da1f758e

Branch: refs/heads/master
Commit: da1f758e33a2acef8bec7d85ccfe73f7cde92225
Parents: bac1d98
Author: Rajkumar Singh <ra...@gmail.com>
Authored: Wed Jul 18 13:51:21 2018 -0700
Committer: Ashutosh Chauhan <ha...@apache.org>
Committed: Wed Jul 18 13:51:21 2018 -0700

----------------------------------------------------------------------
 ql/src/java/org/apache/hadoop/hive/ql/txn/compactor/Worker.java | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/da1f758e/ql/src/java/org/apache/hadoop/hive/ql/txn/compactor/Worker.java
----------------------------------------------------------------------
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/txn/compactor/Worker.java b/ql/src/java/org/apache/hadoop/hive/ql/txn/compactor/Worker.java
index 7461299..e77358b 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/txn/compactor/Worker.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/txn/compactor/Worker.java
@@ -297,6 +297,7 @@ public class Worker extends CompactorThread {
         }
         sb.setLength(sb.length() - 1); //remove trailing ,
         LOG.info(ci + ": running '" + sb.toString() + "'");
+        conf.setVar(HiveConf.ConfVars.METASTOREURIS,"");
         Driver d = new Driver(new QueryState.Builder().withGenerateNewQueryId(true).withHiveConf(conf).build(), userName);
         SessionState localSession = null;
         try {