alibaba / DataX

DataX是阿里云DataWorks数据集成的开源版本。
Other
15.95k stars 5.44k forks source link

java.lang.NoSuchMethodError: #1970

Open niushaoda opened 1 year ago

niushaoda commented 1 year ago

2023-10-27 10:38:26.389 [main] WARN Engine - prioriy set to 0, because NumberFormatException, the value is: null 2023-10-27 10:38:26.391 [main] ERROR Engine -

经DataX智能分析,该任务最可能的错误原因是: java.lang.NoSuchMethodError: com.alibaba.datax.common.statistics.PerfTrace.getInstance(ZJIIZ)Lcom/alibaba/datax/common/statistics/PerfTrace; at com.alibaba.datax.core.Engine.start(Engine.java:90) at com.alibaba.datax.core.Engine.entry(Engine.java:171) at com.alibaba.datax.core.Engine.main(Engine.java:204)

niushaoda commented 1 year ago

解压后用自检脚本: python {YOUR_DATAX_HOME}/bin/datax.py {YOUR_DATAX_HOME}/job/job.json 运行报错

FuYouJ commented 1 year ago

原因没分析出来: 解决办法:打开源码 com/alibaba/datax/core/Engine.java 注释掉: PerfTrace perfTrace = PerfTrace.getInstance(isJob, instanceId, taskGroupId, traceEnable); 再打包