0

我的 linux 系统中没有安装 linux 实用程序 curl。
如何将 oozie 回调命令从 curl 更改为 wget ?

4

1 回答 1

0

默认情况下 oozie 使用 curl 作为回调命令。可以通过覆盖 oozie-site.xml 中的 2 个属性将回调命令更改为 wget

<property>
    <name>oozie.action.ssh.http.command</name>
    <value>wget</value>
</property> 

<property>
    <name>oozie.action.ssh.http.command.post.options</name>
    <value>--post-data #stdout --header "content-type:text/plain"</value>
</property> 

只需更改 oozie-site.xml 中的上述属性并重新启动 oozie 服务器。

于 2013-07-08T04:41:18.603 回答