首页 > 其他分享 >Pentaho pan和kitchen 如何运行

Pentaho pan和kitchen 如何运行

时间:2022-11-14 11:31:55浏览次数:48  
标签:bat file integration Pentaho pdi test data pan kitchen

查了网上资料,无外乎如下:

在CMD中切换到pdi的路径: D:\data-integration, 然后输入命令:

D:\data-integration>Pan.bat /file:"D:\data-integration\pdi_job\test.ktr"

可是系统不断提示如下:

WARNING: Using java from path

DEBUG: _PENTAHO_JAVA_HOME=

DEBUG: _PENTAHO_JAVA=java.exe

D:\data-integration

The system cannot find the path specified.

The system cannot find the path specified.

GOTO was unexpected at this time.

以为是命令参数错了,修改为:Pan.bat /file="D:\data-integration\pdi_job\test.ktr"

或者:Pan.bat /file=D:\data-integration\pdi_job\test.ktr

依然报错。

后来按照之前跑kitchen的经验,创建如下bat文件,却能正常跑了。

========================

D:

cd "\data-integration"

call pan.bat /file:D:\data-integration\pdi_job\test.ktr

exit

=========================

标签:bat,file,integration,Pentaho,pdi,test,data,pan,kitchen
From: https://blog.51cto.com/helpdesk/5848616

相关文章