Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
CR-feedback
  • Loading branch information
holdenk committed Aug 11, 2022
commit efa0e5a5dc4a1a7bdf42a44b3fbe5d652fc7a316
Original file line number Diff line number Diff line change
Expand Up @@ -489,6 +489,7 @@ private[spark] object Config extends Logging {
"You should leave this enabled unless your encountering performance issues with your etcd.")
.version("3.3.0")
.booleanConf
.internal()
.createWithDefault(true)

val KUBERNETES_EXECUTOR_ENABLE_API_WATCHER =
Expand All @@ -497,6 +498,7 @@ private[spark] object Config extends Logging {
"You should leave this enabled unless your encountering performance issues with your etcd.")
.version("3.3.0")
.booleanConf
.internal()
.createWithDefault(true)


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ class ExecutorPodsPollingSnapshotSourceSuite extends SparkFunSuite with BeforeAn
verify(eventQueue).replaceSnapshot(Seq(exec1, exec2))
}

test("If polling is disabled we don't call pods() on the client") {
test("SPARK-36462: If polling is disabled we don't call pods() on the client") {
val sparkConf = new SparkConf()
val source = new ExecutorPodsPollingSnapshotSource(
sparkConf.set(KUBERNETES_EXECUTOR_ENABLE_API_POLLING, false),
Expand Down