This is an automated email from the ASF dual-hosted git repository.
lzljs3620320 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/paimon.git
The following commit(s) were added to refs/heads/master by this push:
new 90ac948c8e [test] Temporarily set client-pool-size to 1 in Spark
PaimonHiveTestBase (#5308)
90ac948c8e is described below
commit 90ac948c8e67079f2a7b43f90e33aa7acc8f0f94
Author: Zouxxyy <[email protected]>
AuthorDate: Tue Mar 18 19:06:36 2025 +0800
[test] Temporarily set client-pool-size to 1 in Spark PaimonHiveTestBase
(#5308)
---
.github/workflows/utitcase-spark-4.x.yml | 2 +-
.../src/test/scala/org/apache/paimon/spark/PaimonHiveTestBase.scala | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/utitcase-spark-4.x.yml
b/.github/workflows/utitcase-spark-4.x.yml
index d919c0670a..ff6f95d415 100644
--- a/.github/workflows/utitcase-spark-4.x.yml
+++ b/.github/workflows/utitcase-spark-4.x.yml
@@ -58,6 +58,6 @@ jobs:
test_modules+="org.apache.paimon:paimon-spark-${suffix},"
done
test_modules="${test_modules%,}"
- mvn -T 1C -B test -pl "${test_modules}"
-Duser.timezone=$jvm_timezone -Pspark4
+ mvn -T 2C -B test -pl "${test_modules}"
-Duser.timezone=$jvm_timezone -Pspark4
env:
MAVEN_OPTS: -Xmx4096m
\ No newline at end of file
diff --git
a/paimon-spark/paimon-spark-ut/src/test/scala/org/apache/paimon/spark/PaimonHiveTestBase.scala
b/paimon-spark/paimon-spark-ut/src/test/scala/org/apache/paimon/spark/PaimonHiveTestBase.scala
index d4d888f2c1..2d482a98da 100644
---
a/paimon-spark/paimon-spark-ut/src/test/scala/org/apache/paimon/spark/PaimonHiveTestBase.scala
+++
b/paimon-spark/paimon-spark-ut/src/test/scala/org/apache/paimon/spark/PaimonHiveTestBase.scala
@@ -50,6 +50,8 @@ class PaimonHiveTestBase extends PaimonSparkTestBase {
.set("spark.sql.warehouse.dir", tempHiveDBDir.getCanonicalPath)
.set("spark.sql.catalogImplementation", "hive")
.set(s"spark.sql.catalog.$sparkCatalogName",
"org.apache.paimon.spark.SparkGenericCatalog")
+ // remove this, when fix https://github.com/apache/paimon/issues/5307
+ .set(s"spark.sql.catalog.$sparkCatalogName.client-pool-size", "1")
.set(s"spark.sql.catalog.$paimonHiveCatalogName",
classOf[SparkCatalog].getName)
.set(s"spark.sql.catalog.$paimonHiveCatalogName.metastore", "hive")
.set(s"spark.sql.catalog.$paimonHiveCatalogName.warehouse",
tempHiveDBDir.getCanonicalPath)