HuangZhenQiu opened a new pull request #7356: [FLINK-10868][flink-yarn] Enforce maximum failed TMs in YarnResourceManager URL: https://github.com/apache/flink/pull/7356 ## What is the purpose of the change The pull request enforces maximum failed TMs in YarnResourceManager to achieve feature parity with legacy YarnFlinkResouceManager. This fix helps to make yarn cluster gracefully shutdown even when TM keeps on failure due to external resource caused issues, such as checkpoint files larget than hdfs folder quota. ## Brief change log - Add maximum failed TM threshold in ResourceManager - When failure TM hit the threshold, cancel all of the pending slot requests in slot manager ## Verifying this change This change added tests and can be verified as follows: - *add testOnContainersAllocatedWithFailure test case in YarnResourceManagerTest* ## Does this pull request potentially affect one of the following parts: - Dependencies (does it add or upgrade a dependency): (no) - The public API, i.e., is any changed class annotated with `@Public(Evolving)`: (no) - The serializers: (no) - The runtime per-record code paths (performance sensitive): (no) - Anything that affects deployment or recovery: Yarn (yes) - The S3 file system connector: (no) ## Documentation - Does this pull request introduce a new feature? (no)
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services