diff --git a/dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/event/StateEventHandler.java b/dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/event/StateEventHandler.java index 377ea71f62..08ee6b66c5 100644 --- a/dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/event/StateEventHandler.java +++ b/dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/event/StateEventHandler.java @@ -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. diff --git a/dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/event/TaskTimeoutStateEventHandler.java b/dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/event/TaskTimeoutStateEventHandler.java index 034bf8107f..8a2854e6af 100644 --- a/dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/event/TaskTimeoutStateEventHandler.java +++ b/dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/event/TaskTimeoutStateEventHandler.java @@ -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; diff --git a/dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/runner/StateWheelExecuteThread.java b/dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/runner/StateWheelExecuteThread.java index fec027935f..94fefea634 100644 --- a/dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/runner/StateWheelExecuteThread.java +++ b/dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/runner/StateWheelExecuteThread.java @@ -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()); diff --git a/dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/runner/WorkflowExecuteRunnable.java b/dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/runner/WorkflowExecuteRunnable.java index 5ee3bb957f..0bd43bdb6e 100644 --- a/dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/runner/WorkflowExecuteRunnable.java +++ b/dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/runner/WorkflowExecuteRunnable.java @@ -1115,7 +1115,7 @@ public class WorkflowExecuteRunnable implements Callable { 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()); diff --git a/dolphinscheduler-ui/src/locales/en_US/project.ts b/dolphinscheduler-ui/src/locales/en_US/project.ts index 4beee4b909..b4ec631ac9 100644 --- a/dolphinscheduler-ui/src/locales/en_US/project.ts +++ b/dolphinscheduler-ui/src/locales/en_US/project.ts @@ -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',