首页 新闻 会员 周边 捐助

kettle问题:用pentaho carte DI工具远程执行作业,出现报错:找不到转换路径

0
悬赏园豆:15 [待解决问题]

最近在研究pentaho carte DI工具远程执行作业功能。发现以下问题:

      感觉是pentaho carte DI的wrapper.conf 配置文件某个地方配置错了?求大神指教问题所在。

    1.当用命令提示符启动carte服务,然后运行kettle作业时,作业可以正常执行。

 

2.当启动 pentaho carte DI服务后,执行远程作业时却出现失败现象。

         错误日志为:

            

2017/08/31 16:40:11 - Student - 开始执行任务
2017/08/31 16:40:11 - Student - Student
2017/08/31 16:40:31 - Student - 开始项[Student]
2017/08/31 16:40:31 - Student - Loading transformation from repository [Student] in directory [/]
2017/08/31 16:40:31 - Student - ERROR (version 7.0.0.0-25, build 1 from 2016-11-05 15.35.36 by buildguy) : org.pentaho.di.core.exception.KettleException:
2017/08/31 16:40:31 - Student - Unexpected error during transformation metadata load
2017/08/31 16:40:31 - Student -
2017/08/31 16:40:31 - Student - No repository defined!
2017/08/31 16:40:31 - Student -
2017/08/31 16:40:31 - Student - 发生了一个错误,当打开/验证 XML 文件 '//Student.ktr'!
2017/08/31 16:40:31 - Student -
2017/08/31 16:40:31 - Student -
2017/08/31 16:40:31 - Student - Unable to get VFS File object for filename '//Student.ktr' : Could not find file with URI "\\Student.ktr" because it is a relative path, and no base URI was provided.
2017/08/31 16:40:31 - Student -
2017/08/31 16:40:31 - Student -
2017/08/31 16:40:31 - Student -
2017/08/31 16:40:31 - Student -
2017/08/31 16:40:31 - Student -
2017/08/31 16:40:31 - Student - at org.pentaho.di.job.entries.trans.JobEntryTrans.getTransMeta(JobEntryTrans.java:1303)
2017/08/31 16:40:31 - Student - at org.pentaho.di.job.entries.trans.JobEntryTrans.execute(JobEntryTrans.java:677)
2017/08/31 16:40:31 - Student - at org.pentaho.di.job.Job.execute(Job.java:724)
2017/08/31 16:40:31 - Student - at org.pentaho.di.job.Job.execute(Job.java:865)
2017/08/31 16:40:31 - Student - at org.pentaho.di.job.Job.execute(Job.java:546)
2017/08/31 16:40:31 - Student - at org.pentaho.di.job.Job.run(Job.java:436)
2017/08/31 16:40:31 - Student - Caused by: org.pentaho.di.core.exception.KettleException:
2017/08/31 16:40:31 - Student - No repository defined!
2017/08/31 16:40:31 - Student -
2017/08/31 16:40:31 - Student - 发生了一个错误,当打开/验证 XML 文件 '//Student.ktr'!
2017/08/31 16:40:31 - Student -
2017/08/31 16:40:31 - Student -
2017/08/31 16:40:31 - Student - Unable to get VFS File object for filename '//Student.ktr' : Could not find file with URI "\\Student.ktr" because it is a relative path, and no base URI was provided.
2017/08/31 16:40:31 - Student -
2017/08/31 16:40:31 - Student -
2017/08/31 16:40:31 - Student -
2017/08/31 16:40:31 - Student -
2017/08/31 16:40:31 - Student - at org.pentaho.di.job.entries.trans.JobEntryTrans.getTransMeta(JobEntryTrans.java:1268)
2017/08/31 16:40:31 - Student - ... 5 more
2017/08/31 16:40:31 - Student - Caused by: org.pentaho.di.core.exception.KettleXMLException:
2017/08/31 16:40:31 - Student - 发生了一个错误,当打开/验证 XML 文件 '//Student.ktr'!
2017/08/31 16:40:31 - Student -
2017/08/31 16:40:31 - Student -
2017/08/31 16:40:31 - Student - Unable to get VFS File object for filename '//Student.ktr' : Could not find file with URI "\\Student.ktr" because it is a relative path, and no base URI was provided.
2017/08/31 16:40:31 - Student -
2017/08/31 16:40:31 - Student -
2017/08/31 16:40:31 - Student -
2017/08/31 16:40:31 - Student - at org.pentaho.di.trans.TransMeta.<init>(TransMeta.java:2726)
2017/08/31 16:40:31 - Student - at org.pentaho.di.job.entries.trans.JobEntryTrans.getTransMeta(JobEntryTrans.java:1265)
2017/08/31 16:40:31 - Student - ... 5 more
2017/08/31 16:40:31 - Student - Caused by: org.pentaho.di.core.exception.KettleFileException:
2017/08/31 16:40:31 - Student -
2017/08/31 16:40:31 - Student - Unable to get VFS File object for filename '//Student.ktr' : Could not find file with URI "\\Student.ktr" because it is a relative path, and no base URI was provided.
2017/08/31 16:40:31 - Student -
2017/08/31 16:40:31 - Student -
2017/08/31 16:40:31 - Student - at org.pentaho.di.core.vfs.KettleVFS.getFileObject(KettleVFS.java:159)
2017/08/31 16:40:31 - Student - at org.pentaho.di.core.vfs.KettleVFS.getFileObject(KettleVFS.java:106)
2017/08/31 16:40:31 - Student - at org.pentaho.di.trans.TransMeta.<init>(TransMeta.java:2724)
2017/08/31 16:40:31 - Student - ... 6 more
2017/08/31 16:40:31 - Student - 完成作业项[Student] (结果=[false])
2017/08/31 16:40:31 - Student - Student

     。奇了怪了,问题一直解决不了。感觉是pentaho carte DI的wrapper.conf 配置文件某个地方配置错了?求大神指教问题所在。

< >
分享
所有回答(1)
0

问题解决了吗?

Chubby_Y | 园豆:202 (菜鸟二级) | 2017-12-15 16:20

改成绝对路径就好了。反正相对路径不行,具体配置文件哪里需要修改一下还是没找到。最近忙别的了,所以没时间研究这个工具。

支持(0) 反对(0) 桃李满园 | 园豆:197 (初学一级) | 2017-12-15 16:28

@桃李满园: 谢谢,我研究研究

支持(0) 反对(0) Chubby_Y | 园豆:202 (菜鸟二级) | 2017-12-15 16:30

@笑匠1: 嗯,好的。找出来后,麻烦也告知我一下。我也学习学习

支持(0) 反对(0) 桃李满园 | 园豆:197 (初学一级) | 2017-12-15 16:31

@桃李满哈哈,我加油,对自己没有信息/捂脸!

支持(0) 反对(0) Chubby_Y | 园豆:202 (菜鸟二级) | 2017-12-15 16:33
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册