You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Attila Sasvari (JIRA)" <ji...@apache.org> on 2017/03/30 11:33:41 UTC
[jira] [Commented] (OOZIE-2850) Fix default callback notifications
[ https://issues.apache.org/jira/browse/OOZIE-2850?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15948886#comment-15948886 ]
Attila Sasvari commented on OOZIE-2850:
---------------------------------------
Hmm, this might be an invalid one as "oozie.service.CallbackService.base.url" is not referenced in the code anymore.
Callback handling is set by [org.apache.oozie.server.ServletMapper | https://github.com/apache/oozie/blob/master/server/src/main/java/org/apache/oozie/server/ServletMapper.java#L63].
Still, callback notification is not sent back when an action has been finished. 10 minutes needed to detect that my shell action had been finished.
> Fix default callback notifications
> ----------------------------------
>
> Key: OOZIE-2850
> URL: https://issues.apache.org/jira/browse/OOZIE-2850
> Project: Oozie
> Issue Type: Bug
> Reporter: Attila Sasvari
> Priority: Trivial
>
> Currently oozie.service.CallbackService.base.url in oozie-default.xml is set to use
> [oozie.base.url/callback| https://github.com/apache/oozie/blob/7c404ad0ea4c61e90e8c86015de25ef196168c29/core/src/main/resources/oozie-default.xml#L1639]
> which defaults to [ http://localhost:8080/oozie |
> https://github.com/apache/oozie/blob/7c404ad0ea4c61e90e8c86015de25ef196168c29/core/src/main/resources/oozie-default.xml#L105].
> As a result, actions finished are not detected by default. (Jetty listens on HTTP port 11000, see [port in oozie-default.xml | https://github.com/apache/oozie/blob/7c404ad0ea4c61e90e8c86015de25ef196168c29/core/src/main/resources/oozie-default.xml#L2535])
> {{oozie.http.hostname}} and {{oozie.http.port}} could be used in {{oozie.base.url}}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)