private void informAboutConatinerFailureDuringRestart(final String containerId) { LOG.log(Level.WARNING, "Container [" + containerId + "] has failed during driver restart process, FailedEvaluaorHandler will be triggered, but no additional evaluator can be requested due to YARN-2433."); // trigger a failed evaluator event this.reefEventHandlers.onResourceStatus(ResourceStatusProto.newBuilder() .setIdentifier(containerId) .setState(ReefServiceProtos.State.FAILED) .setExitCode(1) .setDiagnostics("Container [" + containerId + "] failed during driver restart process.") .setIsFromPreviousDriver(true) .build()); }
public Builder mergeFrom(com.microsoft.reef.proto.DriverRuntimeProtocol.ResourceStatusProto other) { if (other == com.microsoft.reef.proto.DriverRuntimeProtocol.ResourceStatusProto.getDefaultInstance()) return this; if (other.hasIdentifier()) { bitField0_ |= 0x00000001; identifier_ = other.identifier_; onChanged(); } if (other.hasState()) { setState(other.getState()); } if (other.hasDiagnostics()) { bitField0_ |= 0x00000004; diagnostics_ = other.diagnostics_; onChanged(); } if (other.hasExitCode()) { setExitCode(other.getExitCode()); } if (other.hasIsFromPreviousDriver()) { setIsFromPreviousDriver(other.getIsFromPreviousDriver()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }