Skip to content

Commit

Permalink
remove scheduler client
Browse files Browse the repository at this point in the history
  • Loading branch information
ywy2090 committed Oct 28, 2024
1 parent a64475d commit 0a84767
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 387 deletions.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -132,29 +132,6 @@ protected void registerExecutors(
new ExecutiveContextBuilder(projectMapperWrapper),
threadPoolService);
executorManager.registerExecutor(ExecutorType.DAG.getType(), dagSchedulerExecutor);
/*
boolean enableLocalDagScheduler = true;
if (enableLocalDagScheduler) {
DagSchedulerExecutor dagSchedulerExecutor =
new DagSchedulerExecutor(
loadBalancer,
jobWorkerMapper,
jobChecker,
storage,
fileMetaBuilder,
executorManager);
executorManager.registerExecutor(ExecutorType.REMOTE.getType(), dagSchedulerExecutor);
} else {
SchedulerClient schedulerClient = new SchedulerClient();
RemoteSchedulerExecutor remoteSchedulerExecutor =
new RemoteSchedulerExecutor(
schedulerClient, jobChecker, storage, fileMetaBuilder);
executorManager.registerExecutor(
ExecutorType.REMOTE.getType(), remoteSchedulerExecutor);
}
*/

/*
// register the executor
PSIExecutor psiExecutor = new PSIExecutor(storage, fileMetaBuilder, jobChecker);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import com.webank.wedpr.common.utils.Common;
import com.webank.wedpr.common.utils.ObjectMapperFactory;
import com.webank.wedpr.common.utils.WeDPRException;
import com.webank.wedpr.components.scheduler.client.SchedulerClient;
import com.webank.wedpr.components.scheduler.executor.impl.model.DatasetInfo;
import com.webank.wedpr.components.scheduler.executor.impl.model.FileMeta;
import com.webank.wedpr.components.scheduler.executor.impl.model.FileMetaBuilder;
Expand Down

This file was deleted.

Loading

0 comments on commit 0a84767

Please sign in to comment.