gpt4 book ai didi

hadoop - oozie 作业完成后的 HTTP 回调

转载 作者:可可西里 更新时间:2023-11-01 16:18:27 26 4
gpt4 key购买 nike

在 Oozie 中完成工作流后,有没有办法进行外部调用?阅读一些文档似乎是可能的。 (Oozie 可以对操作开始/结束/失败事件和工作流结束/失败事件进行 HTTP 回调通知。)

http://archive.cloudera.com/cdh/3/oozie/WorkflowFunctionalSpec.html

但不确定该怎么做,它是否可以是回调时的外部 api 调用。

谢谢

最佳答案

在文档的下方,section 5

外部 API 调用是什么意思?它只能执行 HTTP 获取 - 因此,如果您配置 servlet 端点或类似的东西以在访问 URL 时触发外部 API 调用,那么您应该能够做几乎任何您想做的事情。

不过值得注意的是,文档说:

Oozie will make a best effort to deliver the notifications, in case of failure it will retry the notification a pre-configured number of times at a pre-configured interval before giving up.

关于hadoop - oozie 作业完成后的 HTTP 回调,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14659389/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com