Skip to content

Commit

Permalink
Spark: Fix flaky TestSparkReaderDeletes tests due to metric not found
Browse files Browse the repository at this point in the history
  • Loading branch information
manuzhang committed Jan 9, 2024
1 parent be155d7 commit 05d4caa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ public static void startMetastoreAndSpark() {
SparkSession.builder()
.master("local[2]")
.config("spark.appStateStore.asyncTracking.enable", false)
.config("spark.ui.liveUpdate.period", 0)
.config(SQLConf.PARTITION_OVERWRITE_MODE().key(), "dynamic")
.config("spark.hadoop." + METASTOREURIS.varname, hiveConf.get(METASTOREURIS.varname))
.enableHiveSupport()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ public static void startMetastoreAndSpark() {
SparkSession.builder()
.master("local[2]")
.config("spark.appStateStore.asyncTracking.enable", false)
.config("spark.ui.liveUpdate.period", 0)
.config(SQLConf.PARTITION_OVERWRITE_MODE().key(), "dynamic")
.config("spark.hadoop." + METASTOREURIS.varname, hiveConf.get(METASTOREURIS.varname))
.enableHiveSupport()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ public static void startMetastoreAndSpark() {
SparkSession.builder()
.master("local[2]")
.config("spark.appStateStore.asyncTracking.enable", false)
.config("spark.ui.liveUpdate.period", 0)
.config(SQLConf.PARTITION_OVERWRITE_MODE().key(), "dynamic")
.config("spark.hadoop." + METASTOREURIS.varname, hiveConf.get(METASTOREURIS.varname))
.enableHiveSupport()
Expand Down

0 comments on commit 05d4caa

Please sign in to comment.