use of org.apache.flink.runtime.taskexecutor.exceptions.RegistrationTimeoutException in project flink by apache.
the class TaskExecutor method registrationTimeout.
private void registrationTimeout(@Nonnull UUID registrationTimeoutId) {
if (registrationTimeoutId.equals(currentRegistrationTimeoutId)) {
final Time maxRegistrationDuration = taskManagerConfiguration.getMaxRegistrationDuration();
onFatalError(new RegistrationTimeoutException(String.format("Could not register at the ResourceManager within the specified maximum " + "registration duration %s. This indicates a problem with this instance. Terminating now.", maxRegistrationDuration)));
}
}
Aggregations