FailedChanges

Summary

  1. [SPARK-27419][CORE] Avoid casting heartbeat interval to seconds (2.4) (details)
Commit 53658ab9b446256fc7de6209f38050c0e50837cc by wenchen
[SPARK-27419][CORE] Avoid casting heartbeat interval to seconds (2.4)
## What changes were proposed in this pull request?
Right now as we cast the heartbeat interval to seconds, any value less
than 1 second will be casted to 0. This PR just backports the changes of
the heartbeat interval in https://github.com/apache/spark/pull/22473
from master.
## How was this patch tested?
Jenkins
Closes #24329 from zsxwing/SPARK-27419.
Authored-by: Shixiong Zhu <zsxwing@gmail.com> Signed-off-by: Wenchen Fan
<wenchen@databricks.com>
The file was modifiedcore/src/main/scala/org/apache/spark/internal/config/package.scala (diff)
The file was modifiedcore/src/main/scala/org/apache/spark/executor/Executor.scala (diff)
The file was modifiedresource-managers/mesos/src/main/scala/org/apache/spark/scheduler/cluster/mesos/MesosCoarseGrainedSchedulerBackend.scala (diff)
The file was modifiedcore/src/main/scala/org/apache/spark/SparkConf.scala (diff)