https://github.com/apache/spark
Revision 92b6619d3ffe3531ac7b11363bf68ad4a6cc8f1e authored by Angerszhuuuu on 28 November 2023, 03:04:14 UTC, committed by Kent Yao on 28 November 2023, 03:04:30 UTC
### What changes were proposed in this pull request?
YarnAllocator set target executor number to 0 to cancel pending allocate request when driver stop
Now for this issue we do:

1. AllocationFailure should not be treated as exitCausedByApp when driver is shutting down https://github.com/apache/spark/pull/38622
2. Avoid new allocation requests when sc.stop stuck https://github.com/apache/spark/pull/43906
3. Cancel pending allocation request, this pr https://github.com/apache/spark/pull/44036

### Why are the changes needed?
Avoid unnecessary allocate request

### Does this PR introduce _any_ user-facing change?
No

### How was this patch tested?
MT

### Was this patch authored or co-authored using generative AI tooling?
No

Closes #44036 from AngersZhuuuu/SPARK-46006-FOLLOWUP.

Authored-by: Angerszhuuuu <angers.zhu@gmail.com>
Signed-off-by: Kent Yao <yao@apache.org>
(cherry picked from commit dbc8756bdac823be42ed10bc011415f405905497)
Signed-off-by: Kent Yao <yao@apache.org>
1 parent e4731e9
History
Tip revision: 92b6619d3ffe3531ac7b11363bf68ad4a6cc8f1e authored by Angerszhuuuu on 28 November 2023, 03:04:14 UTC
[SPARK-46006][YARN][FOLLOWUP] YarnAllocator set target executor number to 0 to cancel pending allocate request when driver stop
Tip revision: 92b6619

README.md

back to top