【问题标题】:Pentaho Carte How to pass parameter in Job LevelPentaho Carte 如何在 Job Level 中传递参数
【发布时间】:2020-03-31 10:37:08
【问题描述】:

我目前正在尝试使用 Pentaho 开发简单的参数传递过程并从 web (Carte) 执行作业。我有转型,也有工作。如果我通过转换直接执行它,我已经成功传递了参数。 http://cluster:cluster@localhost:8080/kettle/executeTrans/?trans=/data-integration/PENTAHO_JOB/test_var.ktr&testvar=1234567

但是,当我尝试将转换放入作业中并在作业级别执行时,即使可以成功运行,我现在也无法获取参数 testvar。我还发现 Job 级别没有 Get Variable 功能。我想知道是否可以通过从 Carte 中的作业级别执行来获取参数 testvar

http://cluster:cluster@localhost:8080/kettle/executeJob/?job=/data-integration/PENTAHO_JOB/test_var.kjb&testvar=1234567

【问题讨论】:

    标签: pentaho pentaho-spoon pentaho-data-integration


    【解决方案1】:

    @Raspi Surya :
    它为我工作。您需要在作业级别设置参数中的变量。我使用了以下网址。
    http://localhost:8080/kettle/executeJob/?job=C:\Data-Integration\carte-testing.kjb&file_name=C:\Data-Integration\file1.csv

    见附件SS

    【讨论】:

    • 嗨,非常感谢,你能告诉我那是哪个屏幕吗?它在运行选项屏幕上吗?你用的是哪个 pentaho 版本?
    • 我知道了,非常感谢...所以我需要右键单击作业窗口并在那里设置参数。谢谢!
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2023-01-24
    • 1970-01-01
    • 2018-09-13
    • 2023-03-09
    相关资源
    最近更新 更多