Skip to content

Commit

Permalink
modify method getAppRelevantDataXJobWorkerTemplate and move to K8SDat…
Browse files Browse the repository at this point in the history
…aXPowerJobJobTemplate
  • Loading branch information
baisui1981 committed Apr 14, 2024
1 parent 9f4b6e3 commit 0882ec7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1169,14 +1169,12 @@ public void doUpdateDatax(Context context) throws Exception {
appCriteria.createCriteria().andProjectNameEqualTo(dataxName);
this.getApplicationDAO().updateByExampleSelective(dataXApp, appCriteria);

DataXJobSubmit.getPowerJobSubmit().ifPresent((submit) -> {
submit.saveJob(this, context, old);
});

IAppSource.cleanAppSourcePluginStoreCache(null, dataxName);
IAppSource.cleanAppSourcePluginStoreCache(this, dataxName);


DataXJobSubmit.getPowerJobSubmit().ifPresent((submit) -> {
submit.saveJob(this, context, old);
});


this.addActionMessage(context, "已经成功更新");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,11 @@ public int getTaskId() {
return 0;
}

@Override
public String getJavaMemSpec() {
return null;
}

@Override
public boolean isDryRun() {
return false;
Expand Down

0 comments on commit 0882ec7

Please sign in to comment.