Skip to content

Commit b9dd1e4

Browse files
committed
Update HiveExternalCatalogVersionsSuite.scala
1 parent d553765 commit b9dd1e4

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

sql/hive/src/test/scala/org/apache/spark/sql/hive/HiveExternalCatalogVersionsSuite.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ class HiveExternalCatalogVersionsSuite extends SparkSubmitTestUtils {
200200
"--master", "local[2]",
201201
"--conf", s"${UI_ENABLED.key}=false",
202202
"--conf", s"${MASTER_REST_SERVER_ENABLED.key}=false",
203-
"--conf", s"${HiveUtils.HIVE_METASTORE_VERSION.key}=1.2.1",
203+
"--conf", s"${HiveUtils.HIVE_METASTORE_VERSION.key}=2.3.7",
204204
"--conf", s"${HiveUtils.HIVE_METASTORE_JARS.key}=maven",
205205
"--conf", s"${WAREHOUSE_PATH.key}=${wareHousePath.getCanonicalPath}",
206206
"--conf", s"spark.sql.test.version.index=$index",
@@ -219,7 +219,7 @@ class HiveExternalCatalogVersionsSuite extends SparkSubmitTestUtils {
219219
"--master", "local[2]",
220220
"--conf", s"${UI_ENABLED.key}=false",
221221
"--conf", s"${MASTER_REST_SERVER_ENABLED.key}=false",
222-
"--conf", s"${HiveUtils.HIVE_METASTORE_VERSION.key}=1.2.1",
222+
"--conf", s"${HiveUtils.HIVE_METASTORE_VERSION.key}=2.3.7",
223223
"--conf", s"${HiveUtils.HIVE_METASTORE_JARS.key}=maven",
224224
"--conf", s"${WAREHOUSE_PATH.key}=${wareHousePath.getCanonicalPath}",
225225
"--driver-java-options", s"-Dderby.system.home=${wareHousePath.getCanonicalPath}",
@@ -246,7 +246,7 @@ object PROCESS_TABLES extends QueryTest with SQLTestUtils {
246246
}
247247
versions
248248
.filter(v => v.startsWith("3") || !TestUtils.isPythonVersionAtLeast38())
249-
.filter(v => v.startsWith("3") || !SystemUtils.isJavaVersionAtLeast(JavaVersion.JAVA_11))
249+
.filter(v => v.startsWith("3") || !SystemUtils.isJavaVersionAtLeast(JavaVersion.JAVA_9))
250250
}
251251

252252
protected var spark: SparkSession = _

0 commit comments

Comments
 (0)