panbingkun opened a new pull request, #45722: URL: https://github.com/apache/spark/pull/45722
### What changes were proposed in this pull request? The pr aims to add add a warning log when failed to canceling the job group. ### Why are the changes needed? In production, we found that when there are many jobs, if we specify `a just-submitted job group` and `cancel` it using the API `SparkContext#cancelJobGroup(groupId: String)`, the cancellation will fail (`silently`) because the job has not yet entered `activeJobs`, and there is `no warning` prompt. (PS: Due to historical reasons, we are not currently using the newer API `SparkContext#cancelJobGroupAndFutureJobs(groupId: String)`) I propose to add `a warning log` here to help troubleshoot `issues`. ### Does this PR introduce _any_ user-facing change? Yes, only for log. ### How was this patch tested? N/A ### Was this patch authored or co-authored using generative AI tooling? No. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
