Description
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.