这两天的根据 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.JobEntry
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.JobEntry

在使用Kettle Carte运行导出的Job时遇到间歇性失败,官方认为是VFS问题并在5.1.0修复,但实际测试仍存在问题。通过将`commons-vfs-20100924-pentaho.jar`替换为最新版`common-vfs.jar`,解决了该问题。此解决方案在一段时间内稳定,本文档作为问题记录和解决方案备忘。
3524

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



