I am able to submit an oozie job by by specifying the username, wf.application.path in an XML body that is sent as a POST request to the oozie server.
<configuration>
<property>
<name>user.name</name>
<value>cmluat</value>
</property>
<property>
<name>oozie.wf.application.path</name>
<value>hdfs://somename/user/hue/oozie/workspaces/hue-oozie-1537788744.34/</value>
</property>
<property>
<name>Country</name>
<value>Malaysia</value>
</property>
When job status is viewed (through Hue), I am able to see the above name, value pairs under 'configuration" tab.
My question is, how do I get my shell action (that contains a shell/python script) to take these name value pairs as inputs/ arguments (Country, Malaysia).
Is there some feature in Hue to pass tags from config.xml on to the shell action. Or better yet, is there a path on HDFS where the above config .xml passed from UI to server is stored?
Side Question The path /user/hue/oozie/workspaces/hue-oozie-1537788744.34/ (which is the one provided in the XML for job submission) contains the workflow.xml, shellscript.sh, lib etc
But when i view the status of the job ID that I get as a response to job submission, clicking on the shellscript.sh visible in the DAG (through Hue) redirects me to a /user/hue/oozie/workspaces/hue-oozie-1452553957.19/ which does not exist (even when accessed out of Hue through terminal via hdfs user).
What is the workflow path hue-oozie-1452553957.19 and how does it get created, what does it contain etc?