in src/main/java/com/epam/grid/engine/provider/utils/sge/healthcheck/QpingCommandParser.java [94:104]
private static void validateQpingResponse(final CommandResult commandResult) {
if (CollectionUtils.isEmpty(commandResult.getStdOut())) {
throw new GridEngineException(HttpStatus.NOT_FOUND,
String.format("SGE error during health check. %nexitCode = %d %nstdOut: %s %nstdErr: %s",
commandResult.getExitCode(), commandResult.getStdOut(), commandResult.getStdErr())
);
}
if (checkCantFindConnectionCase(commandResult)) {
throw new GridEngineException(HttpStatus.NOT_FOUND, CANT_FIND_CONNECTION_MESSAGE);
}
}