This is an automated email from the ASF dual-hosted git repository.
klcopp 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 1f9a68d HIVE-24172: Fix TestMmCompactorOnMr (Karen Coppage, reviewed
by Laszlo Pinter)
1f9a68d is described below
commit 1f9a68ddb8e87b6efb9f23b687eaf99557376436
Author: Karen Coppage <[email protected]>
AuthorDate: Wed Sep 23 16:21:29 2020 +0200
HIVE-24172: Fix TestMmCompactorOnMr (Karen Coppage, reviewed by Laszlo
Pinter)
Closes #1514.
---
.../org/apache/hadoop/hive/ql/txn/compactor/TestMmCompactorOnMr.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/txn/compactor/TestMmCompactorOnMr.java
b/itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/txn/compactor/TestMmCompactorOnMr.java
index d6e4dfc..c24cfc3 100644
---
a/itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/txn/compactor/TestMmCompactorOnMr.java
+++
b/itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/txn/compactor/TestMmCompactorOnMr.java
@@ -20,10 +20,10 @@ package org.apache.hadoop.hive.ql.txn.compactor;
import org.apache.hadoop.hive.conf.HiveConf;
import org.junit.Before;
[email protected]("HIVE-24172")
public class TestMmCompactorOnMr extends TestMmCompactorOnTez {
@Before
public void setMr() {
- driver.getConf().setVar(HiveConf.ConfVars.HIVE_EXECUTION_ENGINE, "mr");
+ // NOTE: only compaction will run with MR as execution engine; setup and
teardown queries will run with Tez.
+ conf.setVar(HiveConf.ConfVars.HIVE_EXECUTION_ENGINE, "mr");
}
}