Skip to content

Commit 90ac948

Browse files
authored
[test] Temporarily set client-pool-size to 1 in Spark PaimonHiveTestBase (#5308)
1 parent 23d4c68 commit 90ac948

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/utitcase-spark-4.x.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,6 @@ jobs:
5858
test_modules+="org.apache.paimon:paimon-spark-${suffix},"
5959
done
6060
test_modules="${test_modules%,}"
61-
mvn -T 1C -B test -pl "${test_modules}" -Duser.timezone=$jvm_timezone -Pspark4
61+
mvn -T 2C -B test -pl "${test_modules}" -Duser.timezone=$jvm_timezone -Pspark4
6262
env:
6363
MAVEN_OPTS: -Xmx4096m

paimon-spark/paimon-spark-ut/src/test/scala/org/apache/paimon/spark/PaimonHiveTestBase.scala

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ class PaimonHiveTestBase extends PaimonSparkTestBase {
5050
.set("spark.sql.warehouse.dir", tempHiveDBDir.getCanonicalPath)
5151
.set("spark.sql.catalogImplementation", "hive")
5252
.set(s"spark.sql.catalog.$sparkCatalogName", "org.apache.paimon.spark.SparkGenericCatalog")
53+
// remove this, when fix https://github.com/apache/paimon/issues/5307
54+
.set(s"spark.sql.catalog.$sparkCatalogName.client-pool-size", "1")
5355
.set(s"spark.sql.catalog.$paimonHiveCatalogName", classOf[SparkCatalog].getName)
5456
.set(s"spark.sql.catalog.$paimonHiveCatalogName.metastore", "hive")
5557
.set(s"spark.sql.catalog.$paimonHiveCatalogName.warehouse", tempHiveDBDir.getCanonicalPath)

0 commit comments

Comments
 (0)