Skip to content

[Improvement-18056] Clean up unused methods and classes in the dolphinschudler-master module#18164

Open
njnu-seafish wants to merge 6 commits intoapache:devfrom
njnu-seafish:Improvement-18056-master-syc
Open

[Improvement-18056] Clean up unused methods and classes in the dolphinschudler-master module#18164
njnu-seafish wants to merge 6 commits intoapache:devfrom
njnu-seafish:Improvement-18056-master-syc

Conversation

@njnu-seafish
Copy link
Copy Markdown
Contributor

Was this PR generated or assisted by AI?

NO

Purpose of the pull request

Part of #18056

Brief change log

Clean up unused methods and classes

Verify this pull request

This pull request is code cleanup without any test coverage.

(or)

This pull request is already covered by existing tests, such as (please describe tests).

(or)

This change added tests and can be verified as follows:

(or)

Pull Request Notice

Pull Request Notice

If your pull request contains incompatible change, you should also add it to docs/docs/en/guide/upgrade/incompatible.md

Copy link
Copy Markdown
Member

@SbloodyS SbloodyS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if these files no longer useful. cc @ruanwenjun

@SbloodyS SbloodyS added the improvement make more easy to user or prompt friendly label Apr 14, 2026
@SbloodyS SbloodyS added this to the 3.4.2 milestone Apr 14, 2026
…er-syc

# Conflicts:
#	dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/engine/task/listener/ITaskExecutionLifecycleListener.java
#	dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/engine/workflow/lifecycle/handler/WorkflowFinalizeLifecycleEventHandler.java
#	dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/engine/workflow/listener/WorkflowSuccessLifecycleListener.java
#	dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/utils/WorkflowInstanceUtils.java

public class TaskKillException extends RuntimeException {

public TaskKillException(String message) {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't remove this.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok


public class TaskPauseException extends RuntimeException {

public TaskPauseException(String message) {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't remove this.


public class TaskReassignMasterHostException extends RuntimeException {

public TaskReassignMasterHostException(String message) {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't remove this.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

/**
* Register a WorkflowInstanceLifecycleListener to the Workflow instance.
*/
void registerWorkflowInstanceLifecycleListener(IWorkflowLifecycleListener listener);
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't remove this.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't remove this.

ok

@@ -68,12 +66,6 @@ public List<IWorkflowLifecycleListener> getWorkflowLifecycleListeners() {
return workflowInstanceLifecycleListeners;
}

@Override
public void registerWorkflowInstanceLifecycleListener(IWorkflowLifecycleListener listener) {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't remove this.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't remove this.

ok

super(message);
}

public LogicTaskInitializeException(String message, Throwable cause) {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't remove this.


public class MasterTaskExecuteException extends MasterException {

public MasterTaskExecuteException(String message) {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't remove this.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't remove this.

ok

@sonarqubecloud
Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend improvement make more easy to user or prompt friendly

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants