Github user tillrohrmann commented on a diff in the pull request:
https://github.com/apache/flink/pull/979#discussion_r37764196
--- Diff:
flink-runtime/src/main/java/org/apache/flink/runtime/client/JobClientActor.java
---
@@ -144,11 +268,25 @@ else if (message instanceof Terminated) {
String msg = "Lost connection to JobManager " +
jobManager.path();
logger.info(msg);
submitter.tell(decorateMessage(new
Status.Failure(new Exception(msg))), getSelf());
+ resetContextAndActor();
} else {
logger.error("Received 'Terminated' for unknown
actor " + target);
}
}
+ // ============= No messgaes received in the job manager
timeout duration ========
+ else if (message instanceof ReceiveTimeout){
+ double tolerance = 0.1 *
JOB_CLIENT_JOB_MANAGER_TIMEOUT.toMillis();
--- End diff --
Why not setting the tolerance to the `JOB_CLIENT_JOB_MANAGER_TIMEOUT`?
---
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.
---