简体   繁体   English

Pentaho Spoon同时执行同一作业

[英]Pentaho Spoon Simultaneous execution of same Job

We have created a single Job in pentaho. 我们在pentaho创建了一个Job。 We want to run this same job from .kjb file multiple times passing different parameters from command line. 我们希望从.kjb文件中多次运行此同一作业,并从命令行传递不同的参数。 But as the code is a single source file, we are not able to execute in parallel. 但是由于代码是单个源文件,因此我们无法并行执行。 What is the solution for running single pentaho job in parallel? 并行运行单个pentaho作业有什么解决方案?

1) You can use a wrapper Pentaho job that calls the same .kjb multiple times with different parameters. 1)您可以使用包装Pentaho作业,该包装使用不同的参数多次调用同一.kjb。 In this scenario you'd use the "Run Next Entries in Parallel" setting as it's described here: http://wiki.pentaho.com/display/EAI/Launching+job+entries+in+parallel 在这种情况下,您将使用“并行运行下一个条目”设置,如下所述: http : //wiki.pentaho.com/display/EAI/Launching+job+entries+in+parallel

2) If you're using kitchen to run .kjb from the command line, you can take care about parallel execution in the shell script itself. 2)如果您正在使用kitchen从命令行运行.kjb,则可以在shell脚本本身中注意并行执行。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM