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))); } }
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))); } }
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))); } }