How to read config properties in sub-workflow (separate xml file)? How to read config properties in sub-workflow (separate xml file)? hadoop hadoop

How to read config properties in sub-workflow (separate xml file)?


Adding propagate-configuration tag in parent workflow xml file resolved the issue.

<workflow-app xmlns = "uri:oozie:workflow:0.4" name = "Parent-Workflow"><start to = "workflowAction1" /><action name = "workflowAction1"><sub-workflow><app-path>/user/user1/oozie-workflow/subWorkflow1.xml</app-path><propagate-configuration /></sub-workflow><ok to = "end" /><error to = "end" />