Search in sources :

Example 1 with RegistrationTimeoutException

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)));
    }
}
Also used : RegistrationTimeoutException(org.apache.flink.runtime.taskexecutor.exceptions.RegistrationTimeoutException) Time(org.apache.flink.api.common.time.Time)

Aggregations

Time (org.apache.flink.api.common.time.Time)1 RegistrationTimeoutException (org.apache.flink.runtime.taskexecutor.exceptions.RegistrationTimeoutException)1