重新运行成功的 oozie 作业

Rerun sucessful oozie jobs

有没有办法完全重新运行成功的 oozie 作业。假设我们计划创建一个 table 并且我们想要按需重建它 - 在 oozie 中有没有简单的方法来做到这一点?

我尝试了 oozie -rerun 命令,但如果每个操作都成功,它不会执行任何结果。它只是检查一切是否成功并完成工作

重新运行 oozie.wf.rerun.failnodes 设置为 false(默认情况下为 true)。

示例:

oozie job -rerun 0000092-141219003455004-oozie-oozi-W -config job.properties -Doozie.wf.rerun.failnodes=false

来自 Apache Oozie,作者 Mohammad Kamrul Islam 和 Aravind Srinivasan

By default, workflow reruns start executing from the failed nodes in the prior run.... The property oozie.wf.rerun.failnodes can be set to false to tell Oozie that the entire workflow needs to be rerun.

如果您的作业 运行 成功并且您想按需重新运行 您必须先通过 运行 执行此命令找出操作编号:oozie job -info xxxxx-xxxxxxxx-xxx-C 一旦你有了行动号 运行 这个:oozie job -rerun xxxxxxx-xxxxxxxx-C -action xx 那你应该很好