diff --git a/client-spark/spark-3/src/main/scala/org/apache/spark/shuffle/celeborn/CelebornShuffleFallbackPolicyRunner.scala b/client-spark/spark-3/src/main/scala/org/apache/spark/shuffle/celeborn/CelebornShuffleFallbackPolicyRunner.scala index 20743467ce..edde7962a1 100644 --- a/client-spark/spark-3/src/main/scala/org/apache/spark/shuffle/celeborn/CelebornShuffleFallbackPolicyRunner.scala +++ b/client-spark/spark-3/src/main/scala/org/apache/spark/shuffle/celeborn/CelebornShuffleFallbackPolicyRunner.scala @@ -80,9 +80,6 @@ class CelebornShuffleFallbackPolicyRunner(conf: CelebornConf) extends Logging { * @return if celeborn cluster has available workers. */ def checkWorkersAvailable(lifecycleManager: LifecycleManager): Boolean = { - if (!conf.checkWorkerEnabled) { - return true - } val resp = lifecycleManager.checkWorkersAvailable() if (!resp.getAvailable) {