前言:在win环境下tran和job都可以运行。但是在linux上tran可以执行,job出现报错
[root@mysql pdi-ce-5.4.0.1-130]# ./kitchen.sh -file /data/zjhcsoft/etl/cs/cs_integration//dy/job/tran_z_tickte_dy_sell_d.kjb
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
2020/05/20 13:59:47 - Kitchen - Start of run.
2020/05/20 13:59:58 - tran_z_tickte_dy_sell_d - 开始执行任务
2020/05/20 13:59:59 - tran_z_tickte_dy_sell_d - 开始项[转换]
2020/05/20 13:59:59 - 转换 - Loading transformation from XML file [file:///data/zjhcsoft/etl/cs/cs_integration/dy/job/tran_z_tickte_dy_sell_d.ktr]
2020/05/20 13:59:59 - tran_z_tickte_dy_sell_d - ERROR (version 5.4.0.1-130, build 1 from 2015-06-14_12-34-55 by buildguy) : org.pentaho.di.core.exception.KettleException:
2020/05/20 13:59:59 - tran_z_tickte_dy_sell_d - Unexpected error during transformation metadata load
2020/05/20 13:59:59 - tran_z_tickte_dy_sell_d -
2020/05/20 13:59:59 - tran_z_tickte_dy_sell_d - Unable

在Windows环境下正常运行的Kettle Job,在Linux上执行时出现'Could not read from ... because it is a not a file.'错误。问题在于Job中配置的转换文件路径为Windows格式,需改为Linux格式才能正确执行。
最低0.47元/天 解锁文章
5570

被折叠的 条评论
为什么被折叠?



