Commit 56eeac8
[SPARK-27198][CORE] Heartbeat interval mismatch in driver and executor
## What changes were proposed in this pull request?
When heartbeat interval is configured via spark.executor.heartbeatInterval without specifying units, we have time mismatched between driver(considers in seconds) and executor(considers as milliseconds)
## How was this patch tested?
Will add UTs
Closes apache#24140 from ajithme/intervalissue.
Authored-by: Ajith <[email protected]>
Signed-off-by: Sean Owen <[email protected]>1 parent 395ed1e commit 56eeac8
File tree
2 files changed
+7
-2
lines changed- core/src/main/scala/org/apache/spark
- executor
2 files changed
+7
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
610 | 611 | | |
611 | 612 | | |
612 | 613 | | |
613 | | - | |
| 614 | + | |
| 615 | + | |
614 | 616 | | |
615 | 617 | | |
616 | 618 | | |
| |||
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
831 | 832 | | |
832 | 833 | | |
833 | 834 | | |
| 835 | + | |
| 836 | + | |
834 | 837 | | |
835 | 838 | | |
836 | | - | |
| 839 | + | |
837 | 840 | | |
838 | 841 | | |
839 | 842 | | |
| |||
0 commit comments