tillrohrmann commented on a change in pull request #9719:
[FLINK-14010][coordination] Shutdown cluster if ResourceManager terminated
unexpectedly
URL: https://github.com/apache/flink/pull/9719#discussion_r327594214
##########
File path:
flink-yarn/src/main/java/org/apache/flink/yarn/YarnResourceManager.java
##########
@@ -452,7 +454,7 @@ private void
removeContainerRequest(AMRMClient.ContainerRequest pendingContainer
@Override
public void onShutdownRequest() {
- closeAsync();
+ onFatalError(new
FlinkException(ERROR_MASSAGE_ON_SHUTDOWN_REQUEST));
Review comment:
```suggestion
onFatalError(new
ResourceManagerException(ERROR_MASSAGE_ON_SHUTDOWN_REQUEST));
```
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services