yangwwei opened a new pull request, #555: URL: https://github.com/apache/yunikorn-k8shim/pull/555
### What is this PR for? The listing operation in the recovery phase: https://github.com/apache/yunikorn-k8shim/blob/c25ac60ffbc175c4966f917da21d184f34dea7b4/pkg/client/apifactory.go#L225. This could sometimes fail on some large clusters, the response time from API server is not guaranteed. Since it is a WARN, it continues but the informers did not return anything. This confuses the scheduler that nothing needs to be recovered, and it goes ahead doing the scheduling. This causes subsequential scheduler failures. And eventually, nothing can be scheduled anymore. This should be a FATAL error. So the scheduler can be restarted to retry recovering. ### What type of PR is it? * [x] - Bug Fix * [ ] - Improvement * [ ] - Feature * [ ] - Documentation * [ ] - Hot Fix * [ ] - Refactoring ### Todos * [ ] - Task ### What is the Jira issue? * https://issues.apache.org/jira/browse/YUNIKORN-1642 ### Questions: * [x] - The licenses files need update. * [x] - There is breaking changes for older versions. * [x] - It needs documentation. -- 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]
