Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

oozie.wf.action.notification.url in config-default.xml

oozie.wf.action.notification.url in config-default.xml

New Contributor

 Our workflows are triggered with a job.properties file specified, however we're trying to do away with that, as sub-workflows (using the sub-workflow action) seem to only use config-default.xml.  Given that, we'd like to have our logging URL be called by the actions within the sub-workflows.  I'm not having any luck with having the url in config-default.xml.  I can't tell if it's a parsing problem with the ampersands in the URL, or if it's because that property only works when it's in a properties file.

 

The documentation seems to hint at this as well:

     If the oozie.wf.action.notification.url property is present in the workflow job properties when submitting the job...

 

Has anyone had luck with using this property in a config-default.xml file?

1 REPLY 1

Re: oozie.wf.action.notification.url in config-default.xml

New Contributor

Hi, Please try with the below configuration in config-default.xml. Also, please keep the config-default.xml in the same place where workflow.xml is loacated (i.e. workspace)

 

<configuration>
<property>
<name>oozie.wf.workflow.notification.url</name>
<value>{serviceUrl}/v1/oozieNotification/jobUpdate?jobId=$jobId%26status=$status</value>
</property>
<property>
<name>oozie.wf.action.notification.url</name>
<value>{serviceUrl}//v1/oozieNotification/jobUpdate?jobId=$jobId%26status=$status</value>
</property>
</configuration>

 

Thanks

Don't have an account?
Coming from Hortonworks? Activate your account here