Harsh J created OOZIE-977:
-----------------------------

             Summary: 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
            Reporter: 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

Reply via email to