log("<br>--- datax-web job execute timeout"); JobLogger.log(e); executeResult = new ReturnT<>(IJobHandler.FAIL_TIMEOUT.getCode(), "job execute timeout "); } finally { futureThread.interrupt(); 15 changes: 7 additions & 8 deletions 15 datax-core/src/main/java/com/wugui/datatx...
2023-06-15 10:37:00 [JobThread.run-165] <br>--- datax-web job execute end(finish) ---<br>--- ReturnT:ReturnT [code=502, msg=job execute timeout , content=null] 2023-06-15 10:37:00 [ExecutorJobHandler.execute-83] java.lang.InterruptedException at java.util.concurrent.FutureTask.a...
DataX web是在DataX的基础上开发的分布式的数据同步工具,方便DataX的用户在网页上通过点击和配置就能完成DataX任务的配置和执行等动作。同时,DataX web是基于xxl-job进行二次开发的DataX任务管理后台,天生支持任务定时调度、日志查看等功能,能帮助用户更好地管理DataX任务。 因此,在学习使用DataX web之前,至少要了解...
JobLogger.log("<br>--- datax-web job execute timeout"); JobLogger.log(e); executeResult=newReturnT<>(IJobHandler.FAIL_TIMEOUT.getCode(),"job execute timeout "); }finally{ futureThread.interrupt(); Expand DownExpand Up@@ -214,4 +217,4 @@ public void run() { logger.info(...
execute(); // tx start // 1、pre read long nowTime = System.currentTimeMillis(); List<JobInfo> scheduleList = JobAdminConfig.getAdminConfig().getJobInfoMapper().scheduleJobQuery(nowTime + PRE_READ_MS, preReadCount); if (scheduleList!=null && scheduleList.size()>0) { if (schedule...
getExecuteResult().getCode()) { JobInfo xxlJobInfo = jobInfoMapper.loadById(log.getJobId()); jobInfoMapper.incrementTimeUpdate(log.getJobId(),log.getTriggerTime()); if (xxlJobInfo != null && xxlJobInfo.getChildJobId() != null && xxlJobInfo.getChildJobId().trim().length() > 0...
if (jobTimeoutCount!=null && jobTimeoutCount.get() > 10) { // job-timeout 10 times in 1 min triggerPool_ = slowTriggerPool; }// trigger triggerPool_.execute(() -> {long start = System.currentTimeMillis();try { // do trigger JobTrigger.trigger(jobId, triggerType, failRetryCount...
private Date updateTime; @ApiModelProperty("负责人") private String author; @ApiModelProperty("修改用户") private int userId; @ApiModelProperty("报警邮件") private String alarmEmail; Expand Down Expand Up @@ -77,21 +78,15 @@ public class JobTemplate { @ApiModelProperty("datax运行json") pr...
getExecuteResult().getCode()) { JobInfo xxlJobInfo = jobInfoMapper.loadById(log.getJobId()); jobInfoMapper.incrementTimeUpdate(log.getJobId(),log.getTriggerTime()); if (xxlJobInfo != null && xxlJobInfo.getChildJobId() != null && xxlJobInfo.getChildJobId().trim().length() > 0...
DEAD_TIMEOUT, new Date()); if (list != null) { for (JobRegistry item : list) { if (RegistryConfig.RegistType.EXECUTOR.name().equals(item.getRegistryGroup())) { String appName = item.getRegistryKey(); List<String> registryList = appAddressMap.get(appName); if (registryList == ...