You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2022/02/02 14:06:19 UTC

[GitHub] [flink] zentol commented on a change in pull request #18567: [FLINK-25893] Suppress error reporting for ResourceManagerServiceImpl.deregisterApplication

zentol commented on a change in pull request #18567:
URL: https://github.com/apache/flink/pull/18567#discussion_r797639576



##########
File path: flink-runtime/src/main/java/org/apache/flink/runtime/entrypoint/component/DispatcherResourceManagerComponent.java
##########
@@ -128,7 +128,17 @@ private void registerShutDownFuture() {
     public CompletableFuture<Void> stopApplication(
             final ApplicationStatus applicationStatus, final @Nullable String diagnostics) {
         return internalShutdown(
-                () -> resourceManagerService.deregisterApplication(applicationStatus, diagnostics));
+                () ->
+                        resourceManagerService
+                                .deregisterApplication(applicationStatus, diagnostics)
+                                // suppress deregister exception because of FLINK-25893
+                                .exceptionally(
+                                        exception -> {

Review comment:
       Can we not make this more specific?
   It sounds like we know of 2 specific circumstances where we expect this to fail, but now we are ignoring all errors, even when everything on our side is working properly.
   
   I intended to add a dedicated exception for the RPC endpoint case in https://github.com/zentol/flink/commits/25269.




-- 
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: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org