[
https://issues.apache.org/jira/browse/OOZIE-977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Harsh J updated OOZIE-977:
--------------------------
Attachment: OOZIE-977.patch
Removes an extra newline that got in.
> 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
> Attachments: OOZIE-977.patch, OOZIE-977.patch
>
>
> 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