Github user tzulitai commented on a diff in the pull request:
https://github.com/apache/flink/pull/3157#discussion_r97253388
--- Diff:
flink-mesos/src/main/java/org/apache/flink/mesos/runtime/clusterframework/MesosApplicationMasterRunner.java
---
@@ -394,6 +395,14 @@ protected int runPrivileged(Configuration config,
Configuration dynamicPropertie
}
}
+ if (mesosServices != null) {
+ try {
+ mesosServices.close(false);
+ } catch (Throwable tt) {
+ LOG.error("Error closing the
ZooKeeperUtilityFactory.", tt);
--- End diff --
This error message is only relevant to `ZooKeeperMesosServices`, and not
`StandaloneMesosServices.`
Should we just use "Failed to clean up and close MesosServices." here, and
rely on the stack trace in logs to find out the case?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---