code: public static EvaluatorRestartInfo createFailedEvaluatorInfo(final String evaluatorId) {
  
      final ResourceRecoverEvent resourceRecoverEvent =
          ResourceEventImpl.newRecoveryBuilder().setIdentifier(evaluatorId).build();
  
      return new EvaluatorRestartInfo(resourceRecoverEvent, EvaluatorRestartState.FAILED);
    }
docs: Creates an {@link EvaluatorRestartInfo} object that represents the information of an evaluator that
  has failed on driver restart.