0
点赞
收藏
分享

微信扫一扫

kettle Could not read from because it is not a file.

西曲风 2022-04-08 阅读 216
etl

kettle资源库 Could not read from “xxx” because it is not a file.

kettle使用资源库运行脚本是,提示Could not read from "xxx" because it is not a file.

在这里插入图片描述

将windows上的配置文件【repositories.xml】上传到服务器上:

windows路径一般是在:C:\Users\Administrator.kettle
在这里插入图片描述

上传到linux:/root/.kettle
在这里插入图片描述
也可以直接复制 repositories.xml 中的内容到服务器上粘贴

vim /root/.kettle/repositories.xml #编辑
##粘贴完成
:wq #保存并退出

提示:配置资源库时最好不要使用中文,不然可能会出现乱码

再次测试脚本执行

在这里插入图片描述
还是报错,不过错误提示不同。

重启一下carte

./carte.sh localhost 8081

在这里插入图片描述
重新执行脚本(似乎可以不用重启carte)

可以看到执行成功了!

举报

相关推荐

0 条评论