mirror of
https://gitee.com/dolphinscheduler/DolphinScheduler.git
synced 2024-12-01 11:47:51 +08:00
Fix spelling (#13237)
This commit is contained in:
parent
d13cd55281
commit
5fe25c995f
@ -23,7 +23,7 @@ import org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteRunnable;
|
||||
public interface StateEventHandler {
|
||||
|
||||
/**
|
||||
* Handle a event, if handle success will reture true, else return false
|
||||
* Handle an event, if handle success will return true, else return false
|
||||
*
|
||||
* @param stateEvent given state event.
|
||||
* @throws StateEventHandleException this exception means it can be recovered.
|
||||
|
@ -52,7 +52,7 @@ public class TaskTimeoutStateEventHandler implements StateEventHandler {
|
||||
"Cannot find the task instance from workflow execute runnable, taskInstanceId: %s",
|
||||
taskStateEvent.getTaskInstanceId())));
|
||||
|
||||
logger.info("Handle task instance state timout event, taskInstanceId: {}", taskStateEvent.getTaskInstanceId());
|
||||
logger.info("Handle task instance state timeout event, taskInstanceId: {}", taskStateEvent.getTaskInstanceId());
|
||||
|
||||
if (TimeoutFlag.CLOSE == taskInstance.getTaskDefine().getTimeoutFlag()) {
|
||||
return true;
|
||||
|
@ -342,7 +342,7 @@ public class StateWheelExecuteThread extends BaseDaemonThread {
|
||||
if (taskInstance.getState() != TaskExecutionStatus.NEED_FAULT_TOLERANCE
|
||||
&& taskInstance.retryTaskIntervalOverTime()) {
|
||||
// reset taskInstance endTime and state
|
||||
// todo relative funtion: TaskInstance.retryTaskIntervalOverTime,
|
||||
// todo relative function: TaskInstance.retryTaskIntervalOverTime,
|
||||
// WorkflowExecuteThread.cloneRetryTaskInstance
|
||||
logger.info("[TaskInstanceKey-{}:{}]The task instance can retry, will retry this task instance",
|
||||
taskInstance.getTaskCode(), taskInstance.getTaskDefinitionVersion());
|
||||
|
@ -1115,7 +1115,7 @@ public class WorkflowExecuteRunnable implements Callable<WorkflowSubmitStatue> {
|
||||
newTaskInstance.setProcessDefine(taskInstance.getProcessDefine());
|
||||
newTaskInstance.setProcessInstance(processInstance);
|
||||
newTaskInstance.setRetryTimes(taskInstance.getRetryTimes() + 1);
|
||||
// todo relative funtion: TaskInstance.retryTaskIntervalOverTime
|
||||
// todo relative function: TaskInstance.retryTaskIntervalOverTime
|
||||
newTaskInstance.setState(taskInstance.getState());
|
||||
newTaskInstance.setEndTime(taskInstance.getEndTime());
|
||||
|
||||
|
@ -731,7 +731,7 @@ export default {
|
||||
mlflow_deployModelKey: 'Model-URI',
|
||||
mlflow_deployPort: 'Port',
|
||||
mlflowProjectRepository: 'Repository',
|
||||
mlflowProjectRepository_tips: 'git respository or path on worker',
|
||||
mlflowProjectRepository_tips: 'git repository or path on worker',
|
||||
mlflowProjectVersion: 'Project Version',
|
||||
mlflowProjectVersion_tips: 'git version',
|
||||
mlflow_cpuLimit: 'Max Cpu Limit',
|
||||
|
Loading…
Reference in New Issue
Block a user