forked from apache/spark
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-36664][CORE] Log time waiting for cluster resources
### What changes were proposed in this pull request? Keep track of and communicate to the listener bus how long we are waiting for execs to be allocated from the underlying cluster manager. Replaces previous PR with GHA issues ( apache#35172 ) and WIP PR apache#34650 and apache#35881 ### What changes were proposed in this pull request? Keep track of and communicate to the listener bus how long we are waiting for execs to be allocated from the underlying cluster manager. Replaces previous PR with GHA issues ( apache#35172 ) and WIP PR apache#34650 ### Why are the changes needed? Sometimes the cluster manager may choke or otherwise not be able to allocate resources and we don't have a good way of detecting this situation making it difficult for the user to debug and tell apart from Spark not scaling up correctly. ### Does this PR introduce _any_ user-facing change? New field in the listener bus message for when a executor is allocated. ### How was this patch tested? New unit test in the listener suite. ### Why are the changes needed? Sometimes the cluster manager may choke or otherwise not be able to allocate resources and we don't have a good way of detecting this situation making it difficult for the user to debug and tell apart from Spark not scaling up correctly. ### Does this PR introduce _any_ user-facing change? New field in the listener bus message for when a executor is allocated. ### How was this patch tested? New unit test in the listener suite. Closes apache#36185 from holdenk/SPARK-36664-Log-time-waiting-for-cluster-resources-r4. Lead-authored-by: Holden Karau <[email protected]> Co-authored-by: Holden Karau <[email protected]> Signed-off-by: Holden Karau <[email protected]>
- Loading branch information
Showing
8 changed files
with
266 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.