This is an automated email from the ASF dual-hosted git repository.
vbalaji pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hudi.git
The following commit(s) were added to refs/heads/master by this push:
new 265aac89584 [HUDI-5825] disable Spark UI in tests if SPARK_EVLOG_DIR
not set (#8005)
265aac89584 is described below
commit 265aac895840ffc97d7a73d65024c0c68e4aa6d0
Author: kazdy <[email protected]>
AuthorDate: Fri Feb 24 05:51:07 2023 +0100
[HUDI-5825] disable Spark UI in tests if SPARK_EVLOG_DIR not set (#8005)
---
.../src/test/java/org/apache/hudi/testutils/HoodieClientTestUtils.java | 3 +++
1 file changed, 3 insertions(+)
diff --git
a/hudi-client/hudi-spark-client/src/test/java/org/apache/hudi/testutils/HoodieClientTestUtils.java
b/hudi-client/hudi-spark-client/src/test/java/org/apache/hudi/testutils/HoodieClientTestUtils.java
index 09447965b2c..842c37449d5 100644
---
a/hudi-client/hudi-spark-client/src/test/java/org/apache/hudi/testutils/HoodieClientTestUtils.java
+++
b/hudi-client/hudi-spark-client/src/test/java/org/apache/hudi/testutils/HoodieClientTestUtils.java
@@ -116,6 +116,9 @@ public class HoodieClientTestUtils {
if (evlogDir != null) {
sparkConf.set("spark.eventLog.enabled", "true");
sparkConf.set("spark.eventLog.dir", evlogDir);
+ sparkConf.set("spark.ui.enabled", "true");
+ } else {
+ sparkConf.set("spark.ui.enabled", "false");
}
return SparkRDDReadClient.addHoodieSupport(sparkConf);