首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在windows上使用命令运行的开水壶

在windows上使用命令运行的开水壶
EN

Stack Overflow用户
提问于 2019-04-28 17:54:06
回答 1查看 84关注 0票数 0

我使用在windows系统上运行的Kettle命令和我的代码:

代码语言:javascript
复制
C:\Users\Administrator>F:\data-integration\pan.bat /file F:\data-integration/repository/test/test.ktr /param:test=pp

当我添加/param:test=pp时,有一个问题:

代码语言:javascript
复制
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/F:/data-integration/launcher/../lib/slf4j-log
4j12-1.7.7.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/F:/data-integration/plugins/pentaho-big-data-
plugin/lib/slf4j-log4j12-1.7.7.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.

SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
2019/04/28 17:44:11 - Pan - ERROR (version 8.3.0.0-211, build 8.3.0.0-211 from 2
019-03-12 03.40.41 by Administrator) : Command Line Options

我已经在test.ktr中设置了测试参数,但也无法运行

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2019-04-29 21:17:01

就我个人而言,我将此模板用于批处理文件

C:

cd\Pentaho\design-tools\data-integration\

栏文件:C:/foo/ Pan.bat /Your.ktr "-param:test=pp“

我通常用引号将param:name=value子句括起来,因为在PDI Windows中,您使用的是多平台系统,您运行的Windows命令将登陆Unix VM ( Java ),因此斜杠、正斜杠和其他控制字符必须省略。

我唯一不用引号括起来的命令是-file。

如果您直接从CMD使用该命令,请记住,您需要导航到您的数据集成文件夹,以便使用这些命令调用Pan / Kitchen。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/55889076

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档