Github user tillrohrmann commented on a diff in the pull request:
https://github.com/apache/flink/pull/979#discussion_r37763757
--- Diff:
flink-runtime/src/main/java/org/apache/flink/runtime/client/JobClientActor.java
---
@@ -156,6 +294,16 @@ else if (message instanceof Terminated) {
}
}
+ private void failWithTimeout(long timeDiff) {
+ String msg = "Job hasn't been running for more than " +
JOB_CLIENT_JOB_STATUS_TIMEOUT/1.0e+3 + " seconds";
+
+ logger.debug(msg);
+ if (submitter != null) {
+ submitter.tell(decorateMessage(new Status.Failure(new
Exception(msg))), sender());
--- End diff --
Can we specify a more specific exception. E.g. `JobExecutionException`?
---
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.
---