这两天的根据 kettle 5.0.1 源码改进成,web端可控的项目。本来项目进展顺利,接近收尾工作,不成想尽然一个系统bug,阻挡了我前进的道路。花了一个上午的时间,各种找资料,后来发现用一个jar包替换后,问题解决。没有办法的办法了。这里记录下,以防后期出现不可预知的问题。
Running an exported Job fails intermittently on carte (most likely a VFS issue)
该问题,官方关闭bug,提示修复在 5.1.0版本,结果下载测试,仍然存在致命的问题。
写道
Unexpected error during transformation metadata load
Error reading information from file
Could not read from "zip:file:///C:/Users/USER~1.OFF/AppData/Local/Temp/export_2018d2a1-674b-11df-832c-05c9548ce924.zip!/trans_003.ktr" because it is a not a file.
at org.pentaho.di.job.entries.trans.JobEntryTrans.getTransMeta(JobEntryTrans.java:1035)
at org.pentaho.di.job.entries.trans.JobEntryTrans.execute(JobEntryTrans.java:541)
Error reading information from file
Could not read from "zip:file:///C:/Users/USER~1.OFF/AppData/Local/Temp/export_2018d2a1-674b-11df-832c-05c9548ce924.zip!/trans_003.ktr" because it is a not a file.
at org.pentaho.di.job.entries.trans.JobEntryTrans.getTransMeta(JobEntryTrans.java:1035)
at org.pentaho.di.job.entries.trans.JobEntryTrans.execute(JobEntryTrans.java:541)
就像里面的哥们一样郁闷,不知道kettle团队作何感想。
写道
well, I've just tested PDI 5.1.0-GA and the problem still exists today. Indeed, the jar commons-vfs-20100924-pentaho.jar is not up to date and I still get the error described above. Check for yourself on: pdi-5.1.0-GA/design-tools/data-integration/lib.
why this issue is closed?
why this issue is closed?
最后解决的办法,也是看到讨论里有人提出用最新的common-vfs.jar 包替换原来的
commons-vfs-20100924-pentaho.jar 包,问题可以解决。至少一个下午,我这里都是相安无事的。这里简单记录一下。
知识点: 1.apache common-vfs 操作
附 :
https://github.com/pentaho/pentaho-kettle kettle github地址
http://jira.pentaho.com/browse/ kettle jira地址