commit c5c4e6bc608dcd2b80b5512e4d84bc48889380d8 Author: David Lavati Date: Wed Oct 9 09:28:39 2019 +0200 HIVE-22307: Upgrade Hadoop version to 3.1.3 Change-Id: I9516134266bfefcf09bfa50c69221f8c12a3ce7c diff --git a/itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/parse/TestReplicationOnHDFSEncryptedZones.java b/itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/parse/TestReplicationOnHDFSEncryptedZones.java index 602394a10e..2a57a841c3 100644 --- a/itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/parse/TestReplicationOnHDFSEncryptedZones.java +++ b/itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/parse/TestReplicationOnHDFSEncryptedZones.java @@ -91,9 +91,10 @@ public void setup() throws Throwable { @Test public void targetAndSourceHaveDifferentEncryptionZoneKeys() throws Throwable { - DFSTestUtil.createKey("test_key123", miniDFSCluster, conf); + MiniDFSCluster replicaMiniDFSCluster = new MiniDFSCluster.Builder(conf).numDataNodes(1).format(true).build(); + DFSTestUtil.createKey("test_key123", replicaMiniDFSCluster, conf); - WarehouseInstance replica = new WarehouseInstance(LOG, miniDFSCluster, + WarehouseInstance replica = new WarehouseInstance(LOG, replicaMiniDFSCluster, new HashMap() {{ put(HiveConf.ConfVars.HIVE_IN_TEST.varname, "false"); put(HiveConf.ConfVars.HIVE_SERVER2_ENABLE_DOAS.varname, "false"); diff --git a/pom.xml b/pom.xml index 47634f426e..5490a821a0 100644 --- a/pom.xml +++ b/pom.xml @@ -151,7 +151,7 @@ 19.0 2.4.11 1.3.166 - 3.1.0 + 3.1.3 ${basedir}/${hive.path.to.root}/testutils/hadoop 1.3 2.0.0-alpha4