You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Harsh J (JIRA)" <ji...@apache.org> on 2012/08/29 19:04:08 UTC

[jira] [Commented] (OOZIE-977) NotificationXCommand (job.notification queue entry) should set a timeout in the HTTP connections it makes

    [ https://issues.apache.org/jira/browse/OOZIE-977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13444207#comment-13444207 ] 

Harsh J commented on OOZIE-977:
-------------------------------

Same ought to be done for CoordActionNotificationXCommand
                
> NotificationXCommand (job.notification queue entry) should set a timeout in the HTTP connections it makes
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: OOZIE-977
>                 URL: https://issues.apache.org/jira/browse/OOZIE-977
>             Project: Oozie
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 3.1.3
>            Reporter: Harsh J
>            Assignee: Harsh J
>
> Right now, the NotificationXCommand, which makes a HTTP connection to the oozie.wf.workflow.notification.url provided WF url, does not set a timeout. The default timeout of HttpURLConnection is infinite, and hence this can easily cause a blockage on the queued commands if the URL is external and the connections are stuck on it for long times / forever.
> We should make this connection with a fixed timeout value. There is a retry factor anyway, so that should cause no harm. The timeout value can be configurable at the Oozie server.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira