Browse Source

fix sagemaker sync status (#13264)

3.2.0-release
JieguangZhou 2 years ago committed by GitHub
parent
commit
df491f78cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      dolphinscheduler-task-plugin/dolphinscheduler-task-sagemaker/src/main/java/org/apache/dolphinscheduler/plugin/task/sagemaker/PipelineUtils.java

2
dolphinscheduler-task-plugin/dolphinscheduler-task-sagemaker/src/main/java/org/apache/dolphinscheduler/plugin/task/sagemaker/PipelineUtils.java

@ -72,7 +72,7 @@ public class PipelineUtils {
logger.info("check Pipeline Steps running"); logger.info("check Pipeline Steps running");
listPipelineExecutionSteps(client, pipelineId); listPipelineExecutionSteps(client, pipelineId);
ThreadUtils.sleep(SagemakerConstants.CHECK_PIPELINE_EXECUTION_STATUS_INTERVAL); ThreadUtils.sleep(SagemakerConstants.CHECK_PIPELINE_EXECUTION_STATUS_INTERVAL);
describePipelineExecution(client, pipelineId); pipelineStatus = describePipelineExecution(client, pipelineId);
} }
int exitStatusCode = TaskConstants.EXIT_CODE_FAILURE; int exitStatusCode = TaskConstants.EXIT_CODE_FAILURE;

Loading…
Cancel
Save