Merge pull request '학습 실패 처리 수정' (#154) from feat/training_260303 into develop
Reviewed-on: #154
This commit was merged in pull request #154.
This commit is contained in:
@@ -125,16 +125,17 @@ public class TrainJobWorker {
|
|||||||
|
|
||||||
} else {
|
} else {
|
||||||
String failMsg = result.getStatus() + "\n" + result.getLogs();
|
String failMsg = result.getStatus() + "\n" + result.getLogs();
|
||||||
|
log.info("training fail Msg ={}", failMsg);
|
||||||
// 실패 처리
|
// 실패 처리
|
||||||
modelTrainJobCoreService.markFailed(
|
modelTrainJobCoreService.markPaused(
|
||||||
jobId, result.getExitCode(), result.getStatus() + "\n" + result.getLogs());
|
jobId, result.getExitCode(), result.getStatus() + "\n" + result.getLogs());
|
||||||
|
|
||||||
if (isEval) {
|
if (isEval) {
|
||||||
// 오류 정보 등록
|
// 오류 정보 등록
|
||||||
modelTrainMngCoreService.markStep2Error(modelId, "exit=" + result.getExitCode());
|
modelTrainMngCoreService.markStep2Stop(modelId, "exit=" + result.getExitCode());
|
||||||
} else {
|
} else {
|
||||||
// 오류 정보 등록
|
// 오류 정보 등록
|
||||||
modelTrainMngCoreService.markError(modelId, "exit=" + result.getExitCode());
|
modelTrainMngCoreService.markStep1Stop(modelId, "exit=" + result.getExitCode());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user